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
+14 -14
View File
@@ -1,7 +1,7 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://addons/godot_db_manager/debug/dbg.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_18.tres" type="DynamicFont" id=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_18.tres" type="FontFile" id=2]
[ext_resource path="res://addons/godot_db_manager/dlgs/error_dlg.tscn" type="PackedScene" id=3]
[ext_resource path="res://addons/godot_db_manager/db_interface.gd" type="Script" id=4]
[ext_resource path="res://addons/godot_db_manager/dlgs/new_db_dlg.tscn" type="PackedScene" id=5]
@@ -14,11 +14,11 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="dlg" type="WindowDialog" parent="."]
[node name="dlg" type="Window" parent="."]
visible = true
margin_right = 1147.0
margin_bottom = 768.0
popup_exclusive = true
offset_right = 1147.0
offset_bottom = 768.0
exclusive = true
window_title = "Godot Database Manager"
resizable = true
__meta__ = {
@@ -30,9 +30,9 @@ __meta__ = {
[node name="databases" type="TabContainer" parent="dlg"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 30.0
custom_fonts/font = ExtResource( 2 )
tab_align = 0
offset_top = 30.0
theme_override_fonts/font = ExtResource( 2 )
tab_alignment = 0
drag_to_rearrange_enabled = true
__meta__ = {
"_edit_use_anchors_": false
@@ -40,23 +40,23 @@ __meta__ = {
[node name="new_db_dlg" parent="dlg" instance=ExtResource( 5 )]
visible = false
margin_right = 3.832
offset_right = 3.832
[node name="error_dlg" parent="dlg" instance=ExtResource( 3 )]
visible = false
anchor_right = 0.187
anchor_bottom = 0.136
margin_right = 0.469986
margin_bottom = -0.0800018
offset_right = 0.469986
offset_bottom = -0.0800018
[node name="load_db_dlg" type="FileDialog" parent="dlg"]
anchor_right = 0.349
anchor_bottom = 0.418
margin_right = -0.309998
margin_bottom = 0.209991
offset_right = -0.309998
offset_bottom = 0.209991
window_title = "Open a File"
mode = 0
filters = PoolStringArray( "*.json" )
filters = PackedStringArray( "*.json" )
__meta__ = {
"_edit_use_anchors_": false
}