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
@@ -1,66 +1,66 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/godot_db_manager/dlgs/delete_prop_dlg.gd" type="Script" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_14.tres" type="DynamicFont" id=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_12.tres" type="DynamicFont" id=3]
[node name="delete_prop_dlg" type="WindowDialog"]
visible = true
anchor_right = 0.257
anchor_bottom = 0.084
margin_right = 0.799988
margin_bottom = 0.399994
focus_next = NodePath("v_layout/buttons/ok_btn")
focus_mode = 1
custom_fonts/title_font = ExtResource( 2 )
popup_exclusive = true
window_title = "Delete property"
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="v_layout" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 10
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="prop_info" type="HBoxContainer" parent="v_layout"]
margin_top = 13.0
margin_right = 412.0
margin_bottom = 30.0
alignment = 1
[node name="prop_lbl" type="Label" parent="v_layout/prop_info"]
margin_left = 152.0
margin_right = 259.0
margin_bottom = 17.0
custom_fonts/font = ExtResource( 2 )
text = "Property name: "
[node name="buttons" type="HBoxContainer" parent="v_layout"]
margin_top = 40.0
margin_right = 412.0
margin_bottom = 61.0
custom_constants/separation = 50
alignment = 1
[node name="ok_btn" type="Button" parent="v_layout/buttons"]
margin_left = 81.0
margin_right = 181.0
margin_bottom = 21.0
rect_min_size = Vector2( 100, 0 )
custom_fonts/font = ExtResource( 3 )
text = "OK"
[node name="cancel_btn" type="Button" parent="v_layout/buttons"]
margin_left = 231.0
margin_right = 331.0
margin_bottom = 21.0
rect_min_size = Vector2( 100, 0 )
custom_fonts/font = ExtResource( 3 )
text = "Cancel"
[gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/godot_db_manager/dlgs/delete_prop_dlg.gd" type="Script" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_14.tres" type="FontFile" id=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_12.tres" type="FontFile" id=3]
[node name="delete_prop_dlg" type="Window"]
visible = true
anchor_right = 0.257
anchor_bottom = 0.084
offset_right = 0.799988
offset_bottom = 0.399994
focus_next = NodePath("v_layout/buttons/ok_btn")
focus_mode = 1
theme_override_fonts/title_font = ExtResource( 2 )
exclusive = true
window_title = "Delete property"
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="v_layout" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
theme_override_constants/separation = 10
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="prop_info" type="HBoxContainer" parent="v_layout"]
offset_top = 13.0
offset_right = 412.0
offset_bottom = 30.0
alignment = 1
[node name="prop_lbl" type="Label" parent="v_layout/prop_info"]
offset_left = 152.0
offset_right = 259.0
offset_bottom = 17.0
theme_override_fonts/font = ExtResource( 2 )
text = "Property name: "
[node name="buttons" type="HBoxContainer" parent="v_layout"]
offset_top = 40.0
offset_right = 412.0
offset_bottom = 61.0
theme_override_constants/separation = 50
alignment = 1
[node name="ok_btn" type="Button" parent="v_layout/buttons"]
offset_left = 81.0
offset_right = 181.0
offset_bottom = 21.0
custom_minimum_size = Vector2( 100, 0 )
theme_override_fonts/font = ExtResource( 3 )
text = "OK"
[node name="cancel_btn" type="Button" parent="v_layout/buttons"]
offset_left = 231.0
offset_right = 331.0
offset_bottom = 21.0
custom_minimum_size = Vector2( 100, 0 )
theme_override_fonts/font = ExtResource( 3 )
text = "Cancel"