2019-10-06 14:07:49 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2018-10-02 07:46:20 +02:00
|
|
|
|
2019-08-12 15:58:42 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/nodes/custom.gd" type="Script" id=1]
|
2019-10-06 14:07:49 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/icons/icons.svg" type="Texture" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 16, 16, 15, 17 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 48, 16, 16, 16 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 32, 16, 16, 16 )
|
2018-10-02 07:46:20 +02:00
|
|
|
|
2018-10-09 07:24:44 +02:00
|
|
|
[node name="Custom" type="GraphNode"]
|
|
|
|
margin_left = 1.0
|
|
|
|
margin_top = 2.0
|
|
|
|
margin_right = 95.0
|
|
|
|
margin_bottom = 53.0
|
2018-10-02 07:46:20 +02:00
|
|
|
mouse_filter = 1
|
|
|
|
title = "Custom"
|
|
|
|
show_close = true
|
|
|
|
slot/0/left_enabled = false
|
|
|
|
slot/0/left_type = 0
|
|
|
|
slot/0/left_color = Color( 1, 1, 1, 1 )
|
|
|
|
slot/0/right_enabled = false
|
|
|
|
slot/0/right_type = 0
|
|
|
|
slot/0/right_color = Color( 1, 1, 1, 1 )
|
|
|
|
script = ExtResource( 1 )
|
2018-10-09 07:24:44 +02:00
|
|
|
model = null
|
2018-10-02 07:46:20 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="CustomNodeButtons" type="HBoxContainer" parent="."]
|
2018-10-02 07:46:20 +02:00
|
|
|
margin_left = 16.0
|
|
|
|
margin_top = 24.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_right = 92.0
|
|
|
|
margin_bottom = 47.0
|
2018-10-02 07:46:20 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Edit" type="Button" parent="CustomNodeButtons"]
|
2018-10-02 07:46:20 +02:00
|
|
|
margin_right = 27.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 23.0
|
|
|
|
icon = SubResource( 1 )
|
2018-10-02 07:46:20 +02:00
|
|
|
flat = true
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Load" type="Button" parent="CustomNodeButtons"]
|
2018-10-02 07:46:20 +02:00
|
|
|
margin_left = 31.0
|
|
|
|
margin_right = 59.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 23.0
|
|
|
|
icon = SubResource( 2 )
|
2018-10-02 07:46:20 +02:00
|
|
|
flat = true
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Save" type="Button" parent="CustomNodeButtons"]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_left = 63.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_right = 76.0
|
|
|
|
margin_bottom = 23.0
|
|
|
|
icon = SubResource( 3 )
|
2018-10-09 07:24:44 +02:00
|
|
|
flat = true
|
2018-10-02 07:46:20 +02:00
|
|
|
[connection signal="pressed" from="CustomNodeButtons/Edit" to="." method="_on_Edit_pressed"]
|
2018-10-09 07:24:44 +02:00
|
|
|
[connection signal="pressed" from="CustomNodeButtons/Load" to="." method="_on_Load_pressed"]
|
2018-10-02 07:46:20 +02:00
|
|
|
[connection signal="pressed" from="CustomNodeButtons/Save" to="." method="_on_Save_pressed"]
|