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
+24 -24
View File
@@ -2,13 +2,13 @@
[ext_resource path="res://scenes/UI/loading/parts/LabelLoading.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/UI/loading/parts/BorderColor.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/ui/themes/bck-hrz-grd.png" type="Texture" id=3]
[ext_resource path="res://assets/ui/themes/bck-hrz-grd.png" type="Texture2D" id=3]
[node name="LoadingBorder" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
grow_vertical = 2
rect_clip_content = true
clip_contents = true
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
@@ -18,22 +18,22 @@ __meta__ = {
[node name="BackgroundGradient" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 0
theme_override_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BlackColor" type="ColorRect" parent="BackgroundGradient"]
margin_right = 1280.0
margin_bottom = 240.0
offset_right = 1280.0
offset_bottom = 240.0
size_flags_horizontal = 3
size_flags_vertical = 3
color = Color( 0, 0, 0, 1 )
[node name="ColorRect" type="TextureRect" parent="BackgroundGradient"]
margin_top = 240.0
margin_right = 1280.0
margin_bottom = 480.0
offset_top = 240.0
offset_right = 1280.0
offset_bottom = 480.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource( 3 )
@@ -43,9 +43,9 @@ __meta__ = {
}
[node name="MarginContainer" type="MarginContainer" parent="BackgroundGradient"]
margin_top = 480.0
margin_right = 1280.0
margin_bottom = 720.0
offset_top = 480.0
offset_right = 1280.0
offset_bottom = 720.0
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -53,11 +53,11 @@ size_flags_vertical = 3
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -30.0
margin_bottom = 30.0
rect_clip_content = true
offset_top = -30.0
offset_bottom = 30.0
clip_contents = true
size_flags_vertical = 5
custom_constants/separation = 20
theme_override_constants/separation = 20
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
@@ -66,22 +66,22 @@ __meta__ = {
[node name="BorderLeft" parent="LabelAndBorder" instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 523.0
margin_bottom = 60.0
offset_right = 523.0
offset_bottom = 60.0
[node name="LabelLoading" parent="LabelAndBorder" instance=ExtResource( 1 )]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 543.0
margin_top = 0.0
margin_right = 736.0
margin_bottom = 56.0
offset_left = 543.0
offset_top = 0.0
offset_right = 736.0
offset_bottom = 56.0
[node name="BorderRight" parent="LabelAndBorder" instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 756.0
margin_right = 1280.0
margin_bottom = 60.0
offset_left = 756.0
offset_right = 1280.0
offset_bottom = 60.0