2018-09-04 21:45:14 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-09-03 21:35:44 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/main_window.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/material_maker/library.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/preview.tscn" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/tabs.gd" type="Script" id=4]
|
2018-09-04 21:45:14 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/renderer.tscn" type="PackedScene" id=5]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-09-21 08:14:20 +02:00
|
|
|
[node name="MainWindow" type="Panel"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2018-08-05 18:46:23 +02:00
|
|
|
script = ExtResource( 1 )
|
2018-08-04 08:05:34 +02:00
|
|
|
_sections_unfolded = [ "Anchor", "Grow Direction", "Margin", "Rect", "Size Flags", "custom_constants" ]
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="." index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 1
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
alignment = 0
|
|
|
|
_sections_unfolded = [ "Anchor", "Margin", "Size Flags" ]
|
|
|
|
|
|
|
|
[node name="Menu" type="HBoxContainer" parent="VBoxContainer" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 1280.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 1
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
alignment = 0
|
|
|
|
|
2018-08-05 18:46:23 +02:00
|
|
|
[node name="File" type="MenuButton" parent="VBoxContainer/Menu" index="0"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 35.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "File"
|
|
|
|
flat = true
|
|
|
|
align = 1
|
2018-08-16 15:08:09 +02:00
|
|
|
items = [ "New material", null, 0, false, false, 0, 0, null, "", false, "Load material", null, 0, false, false, 1, 268435535, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Save material", null, 0, false, false, 3, 268435539, null, "", false, "Save material as...", null, 0, false, false, 4, 301989971, null, "", false, "Save all materials...", null, 0, false, false, 5, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Export material", null, 0, false, false, 7, 268435525, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Close material", null, 0, false, false, 9, 0, null, "", false, "Quit", null, 0, false, false, 10, 268435537, null, "", false ]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-08-07 09:31:41 +02:00
|
|
|
[node name="Edit" type="MenuButton" parent="VBoxContainer/Menu" index="1"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 39.0
|
2018-08-07 09:31:41 +02:00
|
|
|
margin_right = 75.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Edit"
|
|
|
|
flat = true
|
|
|
|
align = 1
|
2018-08-19 02:11:52 +02:00
|
|
|
items = [ "Cut", null, 0, false, false, 11, 268435544, null, "", false, "Copy", null, 0, false, false, 12, 268435523, null, "", false, "Paste", null, 0, false, false, 13, 268435542, null, "", false ]
|
2018-08-07 09:31:41 +02:00
|
|
|
|
|
|
|
[node name="Tools" type="MenuButton" parent="VBoxContainer/Menu" index="2"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 79.0
|
|
|
|
margin_right = 125.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Tools"
|
|
|
|
flat = true
|
|
|
|
align = 1
|
2018-08-19 02:11:52 +02:00
|
|
|
items = [ "Add selected node to user library", null, 0, false, false, 14, 0, null, "", false, "Save user library", null, 0, false, false, 15, 0, null, "", false ]
|
2018-08-07 09:31:41 +02:00
|
|
|
|
|
|
|
[node name="Help" type="MenuButton" parent="VBoxContainer/Menu" index="3"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 129.0
|
|
|
|
margin_right = 171.0
|
2018-08-04 08:05:34 +02:00
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Help"
|
|
|
|
flat = true
|
|
|
|
align = 1
|
2018-08-26 16:22:42 +02:00
|
|
|
items = [ "User manual", null, 0, false, false, 16, 0, null, "", false, "Report a bug", null, 0, false, false, 17, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "About", null, 0, false, false, 19, 0, null, "", false ]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HSplitContainer" parent="VBoxContainer" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_top = 24.0
|
|
|
|
margin_right = 1280.0
|
|
|
|
margin_bottom = 720.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 3
|
|
|
|
split_offset = 0
|
|
|
|
collapsed = false
|
|
|
|
dragger_visibility = 0
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
|
2018-08-05 18:46:23 +02:00
|
|
|
[node name="VBoxContainer" type="VSplitContainer" parent="VBoxContainer/HBoxContainer" index="0"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-08-05 18:46:23 +02:00
|
|
|
margin_right = 314.0
|
2018-08-04 08:05:34 +02:00
|
|
|
margin_bottom = 696.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
2018-08-05 18:46:23 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
split_offset = 0
|
|
|
|
collapsed = false
|
|
|
|
dragger_visibility = 0
|
|
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
|
|
|
|
[node name="Library" type="Tree" parent="VBoxContainer/HBoxContainer/VBoxContainer" index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 314.0
|
|
|
|
margin_bottom = 342.0
|
|
|
|
rect_min_size = Vector2( 100, 100 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = true
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
columns = 1
|
|
|
|
allow_reselect = false
|
|
|
|
allow_rmb_select = false
|
|
|
|
hide_folding = false
|
|
|
|
hide_root = true
|
|
|
|
drop_mode_flags = 0
|
|
|
|
select_mode = 0
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Preview" parent="VBoxContainer/HBoxContainer/VBoxContainer" index="1" instance=ExtResource( 3 )]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
margin_left = 0.0
|
|
|
|
margin_top = 354.0
|
|
|
|
margin_right = 314.0
|
|
|
|
margin_bottom = 696.0
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-08-27 17:22:57 +02:00
|
|
|
[node name="Projects" type="Panel" parent="VBoxContainer/HBoxContainer" index="1"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-08-05 18:46:23 +02:00
|
|
|
margin_left = 326.0
|
2018-08-04 08:05:34 +02:00
|
|
|
margin_right = 1280.0
|
|
|
|
margin_bottom = 696.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
2018-08-05 18:46:23 +02:00
|
|
|
size_flags_horizontal = 3
|
2018-08-04 08:05:34 +02:00
|
|
|
size_flags_vertical = 3
|
2018-08-05 18:46:23 +02:00
|
|
|
size_flags_stretch_ratio = 3.0
|
2018-08-27 17:22:57 +02:00
|
|
|
script = ExtResource( 4 )
|
|
|
|
_sections_unfolded = [ "custom_styles" ]
|
|
|
|
|
|
|
|
[node name="Tabs" type="Tabs" parent="VBoxContainer/HBoxContainer/Projects" index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 954.0
|
2018-08-28 08:33:41 +02:00
|
|
|
margin_bottom = 21.0
|
2018-08-27 17:22:57 +02:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
2018-08-04 08:05:34 +02:00
|
|
|
tab_align = 0
|
2018-08-27 17:22:57 +02:00
|
|
|
tab_close_display_policy = 1
|
|
|
|
scrolling_enabled = true
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-09-04 21:45:14 +02:00
|
|
|
[node name="Renderer" parent="." index="1" instance=ExtResource( 5 )]
|
|
|
|
|
2018-08-27 17:22:57 +02:00
|
|
|
[connection signal="no_more_tabs" from="VBoxContainer/HBoxContainer/Projects" to="." method="new_material"]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2018-08-27 17:22:57 +02:00
|
|
|
[connection signal="resized" from="VBoxContainer/HBoxContainer/Projects" to="VBoxContainer/HBoxContainer/Projects" method="_on_Projects_resized"]
|
|
|
|
|
|
|
|
[connection signal="tab_changed" from="VBoxContainer/HBoxContainer/Projects" to="." method="_on_Projects_tab_changed"]
|
2018-08-07 23:21:12 +02:00
|
|
|
|
2018-08-16 15:08:09 +02:00
|
|
|
[connection signal="connection_request" from="VBoxContainer/HBoxContainer/Projects/GraphEdit" to="VBoxContainer/HBoxContainer/Projects/GraphEdit" method="connect_node"]
|
|
|
|
|
|
|
|
[connection signal="disconnection_request" from="VBoxContainer/HBoxContainer/Projects/GraphEdit" to="VBoxContainer/HBoxContainer/Projects/GraphEdit" method="disconnect_node"]
|
|
|
|
|
2018-08-27 17:22:57 +02:00
|
|
|
[connection signal="reposition_active_tab_request" from="VBoxContainer/HBoxContainer/Projects/Tabs" to="VBoxContainer/HBoxContainer/Projects" method="move_active_tab_to"]
|
|
|
|
|
|
|
|
[connection signal="tab_changed" from="VBoxContainer/HBoxContainer/Projects/Tabs" to="VBoxContainer/HBoxContainer/Projects" method="set_current_tab"]
|
|
|
|
|
|
|
|
[connection signal="tab_close" from="VBoxContainer/HBoxContainer/Projects/Tabs" to="VBoxContainer/HBoxContainer/Projects" method="close_tab"]
|
|
|
|
|
2018-08-04 08:05:34 +02:00
|
|
|
|