Skip to content

Commit 27b1fac

Browse files
Godot 4.5 Compatibility: UID Fixes and remove SVGTexture references (#2665)
Unnecessary references to the non-existant SVG texture class have been removed from the file field scene. Additionally, incorrect UIDs for `timeline_editor.gd` and `shortcut_popup.gd` in `timeline_editor.tscn` have been corrected to match the actual file UIDs, resolving potential scene loading issues. --------- Co-authored-by: Jowan-Spooner <[email protected]>
1 parent 49cc9c9 commit 27b1fac

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

addons/dialogic/Editor/Events/Fields/field_file.tscn

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=7 format=3 uid="uid://7mvxuaulctcq"]
1+
[gd_scene load_steps=6 format=3 uid="uid://7mvxuaulctcq"]
22

33
[ext_resource type="Script" uid="uid://buepm260xnmaa" path="res://addons/dialogic/Editor/Events/Fields/field_file.gd" id="1_0grcf"]
44

@@ -8,11 +8,7 @@
88

99
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wq6bt"]
1010

11-
[sub_resource type="SVGTexture" id="SVGTexture_ye6ml"]
12-
_source = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path fill=\"#ff5d5d\" d=\"M2 1v8.586l1.293-1.293a1 1 0 0 1 1.414 0L7 10.587l2.293-2.293a1 1 0 0 1 1.414 0L13 10.586l1-1V6H9V1H2zm8 0v4h4zm-6 9.414-2 2V15h12v-2.586l-.293.293a1 1 0 0 1-1.414 0L10 10.414l-2.293 2.293a1 1 0 0 1-1.414 0L4 10.414z\"/></svg>
13-
"
14-
15-
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p7oji"]
11+
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ye6ml"]
1612
content_margin_left = 4.0
1713
content_margin_top = 4.0
1814
content_margin_right = 4.0
@@ -59,26 +55,23 @@ expand_to_text_length = true
5955
[node name="OpenButton" type="Button" parent="BG/HBox"]
6056
unique_name_in_owner = true
6157
layout_mode = 2
62-
icon = SubResource("SVGTexture_ye6ml")
6358
flat = true
6459

6560
[node name="EditButton" type="Button" parent="BG/HBox"]
6661
unique_name_in_owner = true
6762
layout_mode = 2
68-
icon = SubResource("SVGTexture_ye6ml")
6963
flat = true
7064

7165
[node name="ClearButton" type="Button" parent="BG/HBox"]
7266
unique_name_in_owner = true
7367
layout_mode = 2
74-
icon = SubResource("SVGTexture_ye6ml")
7568
flat = true
7669

7770
[node name="FocusStyle" type="Panel" parent="."]
7871
visible = false
7972
layout_mode = 2
8073
mouse_filter = 2
81-
theme_override_styles/panel = SubResource("StyleBoxFlat_p7oji")
74+
theme_override_styles/panel = SubResource("StyleBoxFlat_ye6ml")
8275

8376
[connection signal="focus_entered" from="BG/HBox/Field" to="." method="_on_field_focus_entered"]
8477
[connection signal="focus_exited" from="BG/HBox/Field" to="." method="_on_field_focus_exited"]

addons/dialogic/Editor/TimelineEditor/timeline_editor.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[gd_scene load_steps=12 format=3 uid="uid://crce0na84rhfd"]
22

3-
[ext_resource type="Script" uid="uid://d3otnbbcpjntk" path="res://addons/dialogic/Editor/TimelineEditor/timeline_editor.gd" id="1_4aceh"]
3+
[ext_resource type="Script" uid="uid://x21vral0xsxy" path="res://addons/dialogic/Editor/TimelineEditor/timeline_editor.gd" id="1_4aceh"]
44
[ext_resource type="PackedScene" uid="uid://ysqbusmy0qma" path="res://addons/dialogic/Editor/TimelineEditor/VisualEditor/timeline_editor_visual.tscn" id="2_qs7vc"]
55
[ext_resource type="PackedScene" uid="uid://dbpkta2tjsqim" path="res://addons/dialogic/Editor/Common/hint_tooltip_icon.tscn" id="2_yqd26"]
66
[ext_resource type="PackedScene" uid="uid://defdeav8rli6o" path="res://addons/dialogic/Editor/TimelineEditor/TextEditor/timeline_editor_text.tscn" id="3_up2bn"]
7-
[ext_resource type="Script" uid="uid://bb2umikh806og" path="res://addons/dialogic/Editor/TimelineEditor/shortcut_popup.gd" id="6_rfuk0"]
7+
[ext_resource type="Script" uid="uid://b35hvsvrvjjl4" path="res://addons/dialogic/Editor/TimelineEditor/shortcut_popup.gd" id="6_rfuk0"]
88

99
[sub_resource type="Image" id="Image_6bv6r"]
1010
data = {

0 commit comments

Comments
 (0)