2020-02-28 08:41:17 +01:00
|
|
|
[gd_scene load_steps=17 format=2]
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2020-01-25 15:20:08 +01:00
|
|
|
[ext_resource path="res://material_maker/main_window.gd" type="Script" id=1]
|
2020-02-28 08:41:17 +01:00
|
|
|
[ext_resource path="res://material_maker/main_window_layout.gd" type="Script" id=2]
|
2020-01-25 15:20:08 +01:00
|
|
|
[ext_resource path="res://material_maker/preview/preview_3d.tscn" type="PackedScene" id=4]
|
|
|
|
[ext_resource path="res://material_maker/preview/preview_3d_ui.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://material_maker/widgets/tabs.gd" type="Script" id=6]
|
2020-01-31 01:17:05 +01:00
|
|
|
[ext_resource path="res://material_maker/widgets/add_node_popup.tscn" type="PackedScene" id=7]
|
|
|
|
[ext_resource path="res://material_maker/icons/icons.svg" type="Texture" id=8]
|
|
|
|
[ext_resource path="res://material_maker/node_factory.gd" type="Script" id=9]
|
2020-02-02 10:54:03 +01:00
|
|
|
[ext_resource path="res://material_maker/theme/default.tres" type="Theme" id=10]
|
2020-02-10 23:13:10 +01:00
|
|
|
[ext_resource path="res://material_maker/preview/preview_2d.gd" type="Script" id=11]
|
2019-10-14 20:42:11 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[sub_resource type="Shader" id=1]
|
2020-02-10 23:13:10 +01:00
|
|
|
code = "shader_type canvas_item;
|
|
|
|
|
|
|
|
uniform sampler2D tex;
|
|
|
|
uniform vec2 size;
|
|
|
|
|
|
|
|
void fragment() {
|
|
|
|
float ms = max(size.x, size.y);
|
|
|
|
vec2 uv = fract(0.5+1.2*(UV-vec2(0.5))*ms/size.yx);
|
|
|
|
vec2 m2 = min(fract(uv), 1.0-fract(uv));
|
|
|
|
vec4 image = texture(tex, uv);
|
|
|
|
vec3 image_with_background = mix(vec3(mod(floor(uv.x*32.0)+floor(uv.y*32.0), 2.0)), image.xyz, image.a);
|
|
|
|
float lines_color = 0.5*(cos(5.0*TIME+100.0*(UV.x+UV.y))+1.0);
|
2020-02-12 08:15:40 +01:00
|
|
|
COLOR = vec4(mix(image_with_background, vec3(lines_color), step(min(m2.x*size.x, m2.y*size.y), 1.0)), 1.0);
|
2020-02-10 23:13:10 +01:00
|
|
|
}"
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
|
|
shader = SubResource( 1 )
|
2020-02-12 08:15:40 +01:00
|
|
|
shader_param/size = Vector2( 947, 682 )
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
2020-02-10 23:13:10 +01:00
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 8 )
|
|
|
|
region = Rect2( 96, 96, 32, 32 )
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
2019-12-10 06:54:10 +01:00
|
|
|
flags = 4
|
2020-01-31 01:17:05 +01:00
|
|
|
atlas = ExtResource( 8 )
|
2019-12-10 06:54:10 +01:00
|
|
|
region = Rect2( 96, 32, 32, 32 )
|
2019-10-14 20:42:11 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[sub_resource type="StyleBoxFlat" id=5]
|
2020-02-10 23:13:10 +01:00
|
|
|
bg_color = Color( 0, 0, 0, 0.772549 )
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[sub_resource type="AtlasTexture" id=6]
|
2019-12-10 06:54:10 +01:00
|
|
|
flags = 4
|
2020-01-31 01:17:05 +01:00
|
|
|
atlas = ExtResource( 8 )
|
2020-02-10 23:13:10 +01:00
|
|
|
region = Rect2( 96, 64, 32, 31 )
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="MainWindow" type="Panel"]
|
2018-08-04 08:05:34 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2020-02-02 10:54:03 +01:00
|
|
|
theme = ExtResource( 10 )
|
2018-08-05 18:46:23 +02:00
|
|
|
script = ExtResource( 1 )
|
2020-01-25 15:20:08 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2018-08-04 08:05:34 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2019-10-17 15:08:01 +02:00
|
|
|
margin_left = 6.0
|
|
|
|
margin_top = 6.0
|
|
|
|
margin_right = -6.0
|
|
|
|
margin_bottom = -6.0
|
2018-08-04 08:05:34 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2020-02-02 10:54:03 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="Menu" type="HBoxContainer" parent="VBoxContainer"]
|
2019-10-17 15:08:01 +02:00
|
|
|
margin_right = 1268.0
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_bottom = 22.0
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="File" type="MenuButton" parent="VBoxContainer/Menu"]
|
2020-02-28 08:41:17 +01:00
|
|
|
margin_right = 31.0
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_bottom = 22.0
|
2018-08-04 08:05:34 +02:00
|
|
|
text = "File"
|
2019-11-10 17:45:03 +01: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, 4, 268435539, null, "", false, "Save material as...", null, 0, false, false, 5, 301989971, null, "", false, "Save all materials...", null, 0, false, false, 6, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Export material", null, 0, false, false, 8, 268435525, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Close material", null, 0, false, false, 10, 0, null, "", false, "Quit", null, 0, false, false, 11, 268435537, null, "", false ]
|
2020-01-23 00:38:06 +01:00
|
|
|
switch_on_hover = true
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Layout" type="HSplitContainer" parent="VBoxContainer"]
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_top = 26.0
|
2019-10-17 15:08:01 +02:00
|
|
|
margin_right = 1268.0
|
|
|
|
margin_bottom = 708.0
|
2018-08-04 08:05:34 +02:00
|
|
|
size_flags_vertical = 3
|
2020-02-28 08:41:17 +01:00
|
|
|
split_offset = -1039
|
|
|
|
script = ExtResource( 2 )
|
2018-08-04 08:05:34 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Left" type="VSplitContainer" parent="VBoxContainer/Layout"]
|
|
|
|
margin_right = 203.0
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_bottom = 682.0
|
2018-08-05 18:46:23 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2020-02-28 08:41:17 +01:00
|
|
|
split_offset = 312
|
2018-08-05 18:46:23 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Top" type="TabContainer" parent="VBoxContainer/Layout/Left"]
|
|
|
|
margin_right = 203.0
|
|
|
|
margin_bottom = 346.0
|
|
|
|
tab_align = 0
|
|
|
|
drag_to_rearrange_enabled = true
|
2018-08-05 18:46:23 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Bottom" type="TabContainer" parent="VBoxContainer/Layout/Left"]
|
|
|
|
margin_top = 354.0
|
|
|
|
margin_right = 203.0
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_bottom = 682.0
|
2019-12-08 08:50:14 +01:00
|
|
|
tab_align = 0
|
2020-02-28 08:41:17 +01:00
|
|
|
drag_to_rearrange_enabled = true
|
2019-12-08 08:50:14 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="SplitRight" type="HSplitContainer" parent="VBoxContainer/Layout"]
|
|
|
|
margin_left = 211.0
|
2019-10-17 15:08:01 +02:00
|
|
|
margin_right = 1268.0
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_bottom = 682.0
|
2020-02-28 08:41:17 +01:00
|
|
|
split_offset = -226
|
|
|
|
|
|
|
|
[node name="ProjectsPane" type="Control" parent="VBoxContainer/Layout/SplitRight"]
|
|
|
|
margin_right = 562.0
|
|
|
|
margin_bottom = 682.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
|
2019-09-29 21:53:32 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Preview2D" type="ColorRect" parent="VBoxContainer/Layout/SplitRight/ProjectsPane"]
|
2020-02-10 23:13:10 +01:00
|
|
|
visible = false
|
2020-02-28 08:41:17 +01:00
|
|
|
material = SubResource( 2 )
|
2020-02-12 08:15:40 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_min_size = Vector2( 64, 64 )
|
|
|
|
rect_clip_content = true
|
|
|
|
mouse_filter = 1
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
size_flags_vertical = 8
|
|
|
|
script = ExtResource( 11 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Preview3D" parent="VBoxContainer/Layout/SplitRight/ProjectsPane" instance=ExtResource( 4 )]
|
2019-12-10 06:54:10 +01:00
|
|
|
margin_left = 0.0
|
|
|
|
margin_top = 0.0
|
|
|
|
margin_right = 0.0
|
|
|
|
margin_bottom = 0.0
|
2020-02-10 23:13:10 +01:00
|
|
|
ui_path = "../PreviewUI/Panel/HBoxContainer/Preview3DUI"
|
2019-09-29 21:53:32 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Projects" type="Panel" parent="VBoxContainer/Layout/SplitRight/ProjectsPane"]
|
2019-09-29 21:53:32 +02:00
|
|
|
self_modulate = Color( 1, 1, 1, 0 )
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2019-10-17 15:08:01 +02:00
|
|
|
margin_right = 5.0
|
|
|
|
margin_bottom = 5.0
|
2019-09-29 21:53:32 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
2019-12-08 08:50:14 +01:00
|
|
|
script = ExtResource( 6 )
|
2020-01-25 11:11:32 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2018-08-27 17:22:57 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Tabs" type="Tabs" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects"]
|
2019-10-17 15:08:01 +02:00
|
|
|
margin_right = 950.0
|
2019-04-13 19:44:37 +02:00
|
|
|
margin_bottom = 24.0
|
2018-08-04 08:05:34 +02:00
|
|
|
tab_align = 0
|
2018-08-27 17:22:57 +02:00
|
|
|
tab_close_display_policy = 1
|
2020-02-28 08:41:17 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2018-09-04 21:45:14 +02:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="AddNodePopup" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" instance=ExtResource( 7 )]
|
2020-01-31 01:17:05 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="PreviewUI" type="HBoxContainer" parent="VBoxContainer/Layout/SplitRight/ProjectsPane"]
|
2019-12-10 06:54:10 +01:00
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 1.0
|
|
|
|
margin_top = -45.0
|
|
|
|
margin_right = 331.0
|
|
|
|
margin_bottom = -13.0
|
|
|
|
custom_constants/separation = 7
|
2020-02-10 23:13:10 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-10 06:54:10 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Preview2DButton" type="Button" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI"]
|
2019-12-10 06:54:10 +01:00
|
|
|
margin_right = 44.0
|
2020-02-02 10:54:03 +01:00
|
|
|
margin_bottom = 40.0
|
2020-02-10 23:13:10 +01:00
|
|
|
hint_tooltip = "Show 2D preview"
|
|
|
|
toggle_mode = true
|
2020-02-28 08:41:17 +01:00
|
|
|
icon = SubResource( 3 )
|
2020-02-10 23:13:10 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Preview3DButton" type="Button" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI"]
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_left = 51.0
|
|
|
|
margin_right = 95.0
|
|
|
|
margin_bottom = 40.0
|
2019-12-10 06:54:10 +01:00
|
|
|
hint_tooltip = "Show 3D preview"
|
|
|
|
toggle_mode = true
|
2020-02-28 08:41:17 +01:00
|
|
|
icon = SubResource( 4 )
|
2019-12-10 06:54:10 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Panel" type="PanelContainer" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI"]
|
2019-12-10 06:54:10 +01:00
|
|
|
visible = false
|
2020-02-10 23:13:10 +01:00
|
|
|
self_modulate = Color( 1, 1, 1, 0.768627 )
|
|
|
|
margin_left = 102.0
|
|
|
|
margin_right = 399.0
|
|
|
|
margin_bottom = 40.0
|
2020-02-28 08:41:17 +01:00
|
|
|
custom_styles/panel = SubResource( 5 )
|
2020-02-10 23:13:10 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel"]
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_right = 297.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
custom_constants/separation = 5
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="SpaceLeft" type="Control" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer"]
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_bottom = 40.0
|
2019-12-10 06:54:10 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="ControlView" type="TextureRect" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer"]
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_left = 5.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 37.0
|
2019-12-10 06:54:10 +01:00
|
|
|
margin_bottom = 35.0
|
|
|
|
size_flags_vertical = 4
|
2020-02-28 08:41:17 +01:00
|
|
|
texture = SubResource( 6 )
|
2019-12-10 06:54:10 +01:00
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Preview3DUI" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer" instance=ExtResource( 5 )]
|
2019-12-10 06:54:10 +01:00
|
|
|
anchor_right = 0.0
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_left = 42.0
|
2019-12-10 06:54:10 +01:00
|
|
|
margin_top = 8.0
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_right = 292.0
|
|
|
|
margin_bottom = 32.0
|
2019-12-10 06:54:10 +01:00
|
|
|
size_flags_vertical = 4
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="SpaceRight" type="Control" parent="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer"]
|
2020-02-10 23:13:10 +01:00
|
|
|
margin_left = 297.0
|
|
|
|
margin_right = 297.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
|
2020-02-28 08:41:17 +01:00
|
|
|
[node name="Right" type="VSplitContainer" parent="VBoxContainer/Layout/SplitRight"]
|
|
|
|
margin_left = 570.0
|
|
|
|
margin_right = 1057.0
|
|
|
|
margin_bottom = 682.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
split_offset = 312
|
|
|
|
|
|
|
|
[node name="Top" type="TabContainer" parent="VBoxContainer/Layout/SplitRight/Right"]
|
|
|
|
margin_right = 487.0
|
|
|
|
margin_bottom = 346.0
|
|
|
|
tab_align = 0
|
|
|
|
drag_to_rearrange_enabled = true
|
|
|
|
|
|
|
|
[node name="Bottom" type="TabContainer" parent="VBoxContainer/Layout/SplitRight/Right"]
|
|
|
|
margin_top = 354.0
|
|
|
|
margin_right = 487.0
|
|
|
|
margin_bottom = 682.0
|
|
|
|
tab_align = 0
|
|
|
|
drag_to_rearrange_enabled = true
|
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="NodeFactory" type="Node" parent="."]
|
2020-01-31 01:17:05 +01:00
|
|
|
script = ExtResource( 9 )
|
2020-02-28 08:41:17 +01:00
|
|
|
[connection signal="dragged" from="VBoxContainer/Layout" to="VBoxContainer/Layout" method="_on_Left_dragged"]
|
|
|
|
[connection signal="dragged" from="VBoxContainer/Layout/SplitRight" to="VBoxContainer/Layout" method="_on_Right_dragged"]
|
|
|
|
[connection signal="resized" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview2D" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview2D" method="on_resized"]
|
|
|
|
[connection signal="need_update" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview3D" to="." method="update_preview_3d"]
|
|
|
|
[connection signal="no_more_tabs" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" to="." method="new_material"]
|
|
|
|
[connection signal="resized" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" method="_on_Projects_resized"]
|
|
|
|
[connection signal="tab_changed" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" to="." method="_on_Projects_tab_changed"]
|
|
|
|
[connection signal="reposition_active_tab_request" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects/Tabs" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" method="move_active_tab_to"]
|
|
|
|
[connection signal="tab_changed" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects/Tabs" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" method="set_current_tab"]
|
|
|
|
[connection signal="tab_close" from="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects/Tabs" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Projects" method="close_tab"]
|
|
|
|
[connection signal="toggled" from="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Preview2DButton" to="." method="show_background_preview_2d"]
|
|
|
|
[connection signal="toggled" from="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Preview3DButton" to="." method="show_background_preview_3d"]
|
|
|
|
[connection signal="gui_input" from="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer/ControlView" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview3D" method="on_gui_input"]
|
|
|
|
[connection signal="environment_selected" from="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer/Preview3DUI" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview3D" method="_on_Environment_item_selected"]
|
|
|
|
[connection signal="model_selected" from="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer/Preview3DUI" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview3D" method="_on_Model_item_selected"]
|
|
|
|
[connection signal="rotate_toggled" from="VBoxContainer/Layout/SplitRight/ProjectsPane/PreviewUI/Panel/HBoxContainer/Preview3DUI" to="VBoxContainer/Layout/SplitRight/ProjectsPane/Preview3D" method="_on_Rotate_toggled"]
|