Run godot --convert-3to4 (automated conversion)

Apply Godot 4.6 automated conversion: renames Spatial.translate->position,
margin_*->offset_*, tool->@tool, .empty()->.is_empty(), DynamicFont->FontFile,
onready->@onready, export()->@export, and many more.

127 files changed by the tool. Manual fixes still required for:
 - godot_db_manager plugin (incompatible APIs: WindowDialog, Tabs, etc.)
 - lod plugin (Spatial -> Node3D renames)
 - ResourceLoader.load_interactive removed -> load_threaded_request
 - OS.set_window_fullscreen removed -> DisplayServer
 - Viewport.set_size_override removed

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vaillant Jeremy
2026-05-16 19:18:27 +02:00
parent efa35a444a
commit 01ea3af253
127 changed files with 2262 additions and 2258 deletions
+39 -39
View File
@@ -1,17 +1,17 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/ui/themes/tab_select/UI-level-btn-leather.png" type="Texture" id=1]
[ext_resource path="res://assets/ui/themes/tab_select/UI-Button-Count.png" type="Texture" id=2]
[ext_resource path="res://assets/ui/themes/tab_select/UI-level-btn-shadow.png" type="Texture" id=3]
[ext_resource path="res://assets/ui/themes/tab_select/UI-Button-Reset.png" type="Texture" id=4]
[ext_resource path="res://assets/ui/themes/tab_select/UI-level-btn-leather.png" type="Texture2D" id=1]
[ext_resource path="res://assets/ui/themes/tab_select/UI-Button-Count.png" type="Texture2D" id=2]
[ext_resource path="res://assets/ui/themes/tab_select/UI-level-btn-shadow.png" type="Texture2D" id=3]
[ext_resource path="res://assets/ui/themes/tab_select/UI-Button-Reset.png" type="Texture2D" id=4]
[node name="Control" type="Control"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -639.646
margin_top = 0.707092
margin_right = 640.354
margin_bottom = 720.707
offset_left = -639.646
offset_top = 0.707092
offset_right = 640.354
offset_bottom = 720.707
size_flags_horizontal = 0
size_flags_vertical = 0
__meta__ = {
@@ -21,9 +21,9 @@ __meta__ = {
[node name="BckShadow" type="TextureRect" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -227.0
margin_right = 228.0
margin_bottom = 720.0
offset_left = -227.0
offset_right = 228.0
offset_bottom = 720.0
texture = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
@@ -32,65 +32,65 @@ __meta__ = {
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -228.5
margin_right = 228.5
margin_bottom = 436.0
custom_constants/margin_right = 20
custom_constants/margin_top = 20
custom_constants/margin_left = 20
custom_constants/margin_bottom = 0
offset_left = -228.5
offset_right = 228.5
offset_bottom = 436.0
theme_override_constants/margin_right = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_left = 20
theme_override_constants/margin_bottom = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AlignColumn" type="VBoxContainer" parent="MarginContainer"]
margin_left = 20.0
margin_top = 20.0
margin_right = 437.0
margin_bottom = 549.0
custom_constants/separation = 0
offset_left = 20.0
offset_top = 20.0
offset_right = 437.0
offset_bottom = 549.0
theme_override_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="MarginContainer/AlignColumn"]
margin_right = 417.0
margin_bottom = 416.0
offset_right = 417.0
offset_bottom = 416.0
texture = ExtResource( 1 )
[node name="VBoxContainer" type="HBoxContainer" parent="MarginContainer/AlignColumn"]
margin_top = 416.0
margin_right = 417.0
margin_bottom = 529.0
custom_constants/separation = 0
offset_top = 416.0
offset_right = 417.0
offset_bottom = 529.0
theme_override_constants/separation = 0
alignment = 1
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/AlignColumn/VBoxContainer"]
margin_left = 7.0
margin_right = 185.0
margin_bottom = 113.0
offset_left = 7.0
offset_right = 185.0
offset_bottom = 113.0
size_flags_horizontal = 0
texture = ExtResource( 4 )
[node name="TextureRect3" type="TextureRect" parent="MarginContainer/AlignColumn/VBoxContainer"]
margin_left = 185.0
margin_right = 410.0
margin_bottom = 113.0
rect_pivot_offset = Vector2( -231.224, -72.2715 )
offset_left = 185.0
offset_right = 410.0
offset_bottom = 113.0
pivot_offset = Vector2( -231.224, -72.2715 )
size_flags_horizontal = 0
texture = ExtResource( 2 )
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/AlignColumn/VBoxContainer/TextureRect3"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_bottom = 10
theme_override_constants/margin_bottom = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="MarginContainer/AlignColumn/VBoxContainer/TextureRect3/MarginContainer"]
margin_right = 225.0
margin_bottom = 103.0
offset_right = 225.0
offset_bottom = 103.0
size_flags_horizontal = 3
size_flags_vertical = 7
text = "X / 10"