Skip to content

Commit a9ddd8e

Browse files
authored
Version 2.0.4
Version 2.0.4
2 parents cb37d98 + 7d86b34 commit a9ddd8e

File tree

7 files changed

+71
-24
lines changed

7 files changed

+71
-24
lines changed

addons/simplegrasstextured/about.gd

+5
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@
2424
@tool
2525
extends AcceptDialog
2626

27+
@export_multiline var message := ""
28+
2729

2830
func _ready():
31+
var config := ConfigFile.new()
32+
config.load("res://addons/simplegrasstextured/plugin.cfg")
33+
%RichTextLabel.text = message.format({"_version_num":config.get_value("plugin", "version")})
2934
name = "SimpleGrassTexturedHelpAbout"
3035
get_ok_button().custom_minimum_size.x = 100
3136

addons/simplegrasstextured/about.tscn

+13-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ size = Vector2i(520, 240)
1414
min_size = Vector2i(520, 200)
1515
max_size = Vector2i(1280, 720)
1616
script = ExtResource("1_r23hh")
17+
message = "Simple Grass Textured Plugin
18+
v. {_version_num}
19+
by IcterusGames
20+
[font_size=7] [/font_size]
21+
[b]Support me on:[/b]
22+
[indent][url]https://icterusgames.itch.io/[/url][/indent]
23+
[indent][url]https://www.patreon.com/IcterusGames[/url][/indent]
24+
[font_size=7] [/font_size]
25+
[b]Source code on:[/b]
26+
[indent][url]https://github.com/IcterusGames/SimpleGrassTextured[/url][/indent]
27+
"
1728

1829
[node name="MarginContainer" type="MarginContainer" parent="."]
1930
offset_left = 8.0
@@ -37,13 +48,14 @@ texture = ExtResource("3_7w1su")
3748
stretch_mode = 4
3849

3950
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/HBoxContainer"]
51+
unique_name_in_owner = true
4052
layout_mode = 2
4153
size_flags_horizontal = 3
4254
theme_override_styles/focus = SubResource("StyleBoxEmpty_hnw4u")
4355
theme_override_styles/normal = SubResource("StyleBoxEmpty_lwftf")
4456
bbcode_enabled = true
4557
text = "Simple Grass Textured Plugin
46-
v. 2.0.3
58+
v. 2.0.4
4759
by IcterusGames
4860
[font_size=7] [/font_size]
4961
[b]Support me on:[/b]

addons/simplegrasstextured/plugin.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
name="SimpleGrassTextured"
44
description="Create simple grass textured"
55
author="IcterusGames"
6-
version="2.0.3"
6+
version="2.0.4"
77
script="plugin.gd"

addons/simplegrasstextured/shaders/grass.gdshader

+19-6
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ varying vec2 uv_align;
6464
varying vec2 uv_scale;
6565
varying flat vec3 v_normal_grass;
6666

67+
const highp float EPSILON = 0.0001;
68+
6769

6870
float get_value(sampler2D tex, vec2 uv) {
6971
vec4 color = textureLod(tex, uv, 0);
@@ -72,9 +74,22 @@ float get_value(sampler2D tex, vec2 uv) {
7274
}
7375

7476

77+
float wrap(float value, float min, float max) {
78+
float range = max - min;
79+
if (range < EPSILON) {
80+
return min;
81+
}
82+
float result = value - (range * floor((value - min) / range));
83+
if (result >= max - EPSILON && result <= max + EPSILON) {
84+
return min;
85+
}
86+
return result;
87+
}
88+
89+
7590
void vertex() {
7691
float lev = pow(abs((VERTEX.y - NODE_POSITION_WORLD.y) / grass_size_y), 1.7 + sgt_wind_strength);
77-
float rand = dot(NODE_POSITION_WORLD, NODE_POSITION_WORLD * 10.0);
92+
float rand = wrap(dot(NODE_POSITION_WORLD, NODE_POSITION_WORLD * 10.0), 0.0, 256.0);
7893
float randf = fract(rand);
7994
int randi = int(randf * 10.0);
8095

@@ -93,18 +108,16 @@ void vertex() {
93108
VERTEX.z += sgt_wind_direction.z * lev * (sgt_wind_strength + (sin(TIME + rand) * 0.2 * (1.0 - grass_strength) * min(1.0, sgt_wind_turbulence))) * (1.0 - grass_strength);
94109

95110
vec3 align = VERTEX - NODE_POSITION_WORLD;
96-
float varh = ((float(randi % 5) / 5.0) * scale_var);
97-
float varw = ((float(randi % 5) / 5.0) * scale_var);
111+
float scale_rand = ((float(randi % 5) / 5.0) * scale_var);
98112
float dist = 1.0;
99113
if(optimization_by_distance) {
100114
float node_dist = distance(NODE_POSITION_WORLD, CAMERA_POSITION_WORLD);
101115
dist = 1.0 - clamp(0.0, 1.0, float(randi % int(max(1.0, node_dist / optimization_level))));
102116
dist *= smoothstep(optimization_dist_max, optimization_dist_min, node_dist);
103117
}
104118

105-
VERTEX.y = (align.y * ((varh * scale_h + scale_h) * dist) + NODE_POSITION_WORLD.y);
106-
VERTEX.x = (align.x * ((scale_w - varw) * dist) + NODE_POSITION_WORLD.x);
107-
VERTEX.z = (align.z * ((scale_w - varw) * dist) + NODE_POSITION_WORLD.z);
119+
vec3 scale = vec3(scale_w, scale_h, scale_w) * (1.0 + scale_rand);
120+
VERTEX = NODE_POSITION_WORLD + (align * dist * scale);
108121

109122
if(dist > 0.0 && interactive_mode) {
110123
float node_x = NODE_POSITION_WORLD.x / 50.0;

addons/simplegrasstextured/shaders/grass_unshaded.gdshader

+19-6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ varying vec2 uv_align;
6565
varying vec2 uv_scale;
6666
varying flat vec3 v_normal_grass;
6767

68+
const highp float EPSILON = 0.0001;
69+
6870

6971
float get_value(sampler2D tex, vec2 uv) {
7072
vec4 color = textureLod(tex, uv, 0);
@@ -73,9 +75,22 @@ float get_value(sampler2D tex, vec2 uv) {
7375
}
7476

7577

78+
float wrap(float value, float min, float max) {
79+
float range = max - min;
80+
if (range < EPSILON) {
81+
return min;
82+
}
83+
float result = value - (range * floor((value - min) / range));
84+
if (result >= max - EPSILON && result <= max + EPSILON) {
85+
return min;
86+
}
87+
return result;
88+
}
89+
90+
7691
void vertex() {
7792
float lev = pow(abs((VERTEX.y - NODE_POSITION_WORLD.y) / grass_size_y), 1.7 + sgt_wind_strength);
78-
float rand = dot(NODE_POSITION_WORLD, NODE_POSITION_WORLD * 10.0);
93+
float rand = wrap(dot(NODE_POSITION_WORLD, NODE_POSITION_WORLD * 10.0), 0.0, 256.0);
7994
float randf = fract(rand);
8095
int randi = int(randf * 10.0);
8196

@@ -94,18 +109,16 @@ void vertex() {
94109
VERTEX.z += sgt_wind_direction.z * lev * (sgt_wind_strength + (sin(TIME + rand) * 0.2 * (1.0 - grass_strength) * min(1.0, sgt_wind_turbulence))) * (1.0 - grass_strength);
95110

96111
vec3 align = VERTEX - NODE_POSITION_WORLD;
97-
float varh = ((float(randi % 5) / 5.0) * scale_var);
98-
float varw = ((float(randi % 5) / 5.0) * scale_var);
112+
float scale_rand = ((float(randi % 5) / 5.0) * scale_var);
99113
float dist = 1.0;
100114
if(optimization_by_distance) {
101115
float node_dist = distance(NODE_POSITION_WORLD, CAMERA_POSITION_WORLD);
102116
dist = 1.0 - clamp(0.0, 1.0, float(randi % int(max(1.0, node_dist / optimization_level))));
103117
dist *= smoothstep(optimization_dist_max, optimization_dist_min, node_dist);
104118
}
105119

106-
VERTEX.y = (align.y * ((varh * scale_h + scale_h) * dist) + NODE_POSITION_WORLD.y);
107-
VERTEX.x = (align.x * ((scale_w - varw) * dist) + NODE_POSITION_WORLD.x);
108-
VERTEX.z = (align.z * ((scale_w - varw) * dist) + NODE_POSITION_WORLD.z);
120+
vec3 scale = vec3(scale_w, scale_h, scale_w) * (1.0 + scale_rand);
121+
VERTEX = NODE_POSITION_WORLD + (align * dist * scale);
109122

110123
if(dist > 0.0 && interactive_mode) {
111124
float node_x = NODE_POSITION_WORLD.x / 50.0;

addons/simplegrasstextured/toolbar.gd

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ func _ready():
5858
%RotationCont.add_child(edit_rotation)
5959
%RotationRandCont.add_child(edit_rotation_rand)
6060
%DistanceCont.add_child(edit_distance)
61+
var config := ConfigFile.new()
62+
config.load("res://addons/simplegrasstextured/plugin.cfg")
63+
%LabelVersion.text = config.get_value("plugin", "version")
6164
_on_theme_changed()
6265

6366

addons/simplegrasstextured/toolbar.tscn

+11-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_hc7jq"]
1414

15-
[sub_resource type="Image" id="Image_d0uon"]
15+
[sub_resource type="Image" id="Image_wmhbv"]
1616
data = {
1717
"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 44, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 94, 94, 234, 255, 95, 95, 43, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
1818
"format": "RGBA8",
@@ -21,10 +21,10 @@ data = {
2121
"width": 16
2222
}
2323

24-
[sub_resource type="ImageTexture" id="ImageTexture_bjqsb"]
25-
image = SubResource("Image_d0uon")
24+
[sub_resource type="ImageTexture" id="ImageTexture_52506"]
25+
image = SubResource("Image_wmhbv")
2626

27-
[sub_resource type="Image" id="Image_qdtg8"]
27+
[sub_resource type="Image" id="Image_sjd4d"]
2828
data = {
2929
"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 131, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 94, 94, 127, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 128, 128, 4, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 231, 255, 93, 93, 55, 255, 97, 97, 58, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 94, 94, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 93, 93, 41, 255, 255, 255, 0, 255, 255, 255, 0, 255, 97, 97, 42, 255, 93, 93, 233, 255, 93, 93, 232, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 98, 98, 47, 255, 97, 97, 42, 255, 255, 255, 0, 255, 97, 97, 42, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 96, 96, 45, 255, 93, 93, 235, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 94, 94, 46, 255, 93, 93, 236, 255, 93, 93, 233, 255, 97, 97, 42, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 93, 93, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 95, 95, 59, 255, 96, 96, 61, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 93, 93, 252, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0),
3030
"format": "RGBA8",
@@ -34,7 +34,7 @@ data = {
3434
}
3535

3636
[sub_resource type="ImageTexture" id="ImageTexture_y38dq"]
37-
image = SubResource("Image_qdtg8")
37+
image = SubResource("Image_sjd4d")
3838

3939
[node name="SGTToolbar" type="HFlowContainer"]
4040
anchors_preset = 10
@@ -72,7 +72,8 @@ mouse_filter = 2
7272
texture = ExtResource("3_tl64l")
7373
stretch_mode = 3
7474

75-
[node name="Label" type="Label" parent="PanelContainer"]
75+
[node name="LabelVersion" type="Label" parent="PanelContainer"]
76+
unique_name_in_owner = true
7677
clip_contents = true
7778
layout_mode = 2
7879
size_flags_vertical = 1
@@ -104,7 +105,7 @@ flat = true
104105

105106
[node name="ButtonMore" parent="." instance=ExtResource("4_1u4kn")]
106107
layout_mode = 2
107-
icon = SubResource("ImageTexture_bjqsb")
108+
icon = SubResource("ImageTexture_52506")
108109
switch_on_hover = true
109110

110111
[node name="ButtonMore2" type="MenuButton" parent="."]
@@ -206,7 +207,7 @@ unique_name_in_owner = true
206207
texture_filter = 1
207208
layout_mode = 2
208209
tooltip_text = "Scale"
209-
icon = SubResource("ImageTexture_bjqsb")
210+
icon = SubResource("ImageTexture_52506")
210211
flat = true
211212

212213
[node name="Separator3" type="Control" parent="."]
@@ -222,7 +223,7 @@ unique_name_in_owner = true
222223
texture_filter = 1
223224
layout_mode = 2
224225
tooltip_text = "Rotation"
225-
icon = SubResource("ImageTexture_bjqsb")
226+
icon = SubResource("ImageTexture_52506")
226227
flat = true
227228

228229
[node name="RotationRandCont" type="HBoxContainer" parent="."]
@@ -234,7 +235,7 @@ unique_name_in_owner = true
234235
texture_filter = 1
235236
layout_mode = 2
236237
tooltip_text = "Rotation randomizer"
237-
icon = SubResource("ImageTexture_bjqsb")
238+
icon = SubResource("ImageTexture_52506")
238239
flat = true
239240

240241
[node name="Separator4" type="Control" parent="."]

0 commit comments

Comments
 (0)