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
+32 -32
View File
@@ -1,8 +1,8 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://addons/godot_db_manager/assets/tex/gui.png" type="Texture" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/tex/gui.png" type="Texture2D" id=1]
[ext_resource path="res://addons/godot_db_manager/table_property.gd" type="Script" id=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_18.tres" type="DynamicFont" id=3]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_18.tres" type="FontFile" id=3]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 1 )
@@ -18,8 +18,8 @@ region = Rect2( 54, 28, 24, 24 )
[node name="table_property" type="Control"]
anchor_right = 1.0
margin_bottom = 15.36
rect_min_size = Vector2( 900, 32 )
offset_bottom = 15.36
custom_minimum_size = Vector2( 900, 32 )
script = ExtResource( 2 )
__meta__ = {
"_edit_horizontal_guides_": [ 32.0 ],
@@ -27,10 +27,10 @@ __meta__ = {
}
[node name="delete_button" type="TextureButton" parent="."]
margin_left = 3.0
margin_top = 4.0
margin_right = 27.0
margin_bottom = 28.0
offset_left = 3.0
offset_top = 4.0
offset_right = 27.0
offset_bottom = 28.0
texture_normal = SubResource( 1 )
texture_pressed = SubResource( 2 )
texture_hover = SubResource( 3 )
@@ -39,50 +39,50 @@ __meta__ = {
}
[node name="prop_name_label" type="Label" parent="."]
margin_left = 28.0
margin_top = 2.0
margin_right = 97.0
margin_bottom = 24.0
custom_fonts/font = ExtResource( 3 )
offset_left = 28.0
offset_top = 2.0
offset_right = 97.0
offset_bottom = 24.0
theme_override_fonts/font = ExtResource( 3 )
text = " Name:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="prop_name" type="LineEdit" parent="."]
margin_left = 109.0
margin_right = 409.0
margin_bottom = 32.0
rect_min_size = Vector2( 300, 0 )
custom_fonts/font = ExtResource( 3 )
offset_left = 109.0
offset_right = 409.0
offset_bottom = 32.0
custom_minimum_size = Vector2( 300, 0 )
theme_override_fonts/font = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="type_label" type="Label" parent="."]
margin_left = 413.0
margin_top = 2.0
margin_right = 473.0
margin_bottom = 24.0
custom_fonts/font = ExtResource( 3 )
offset_left = 413.0
offset_top = 2.0
offset_right = 473.0
offset_bottom = 24.0
theme_override_fonts/font = ExtResource( 3 )
text = " Type:"
[node name="prop_type" type="OptionButton" parent="."]
margin_left = 485.0
margin_right = 735.0
margin_bottom = 32.0
rect_min_size = Vector2( 250, 0 )
custom_fonts/font = ExtResource( 3 )
offset_left = 485.0
offset_right = 735.0
offset_bottom = 32.0
custom_minimum_size = Vector2( 250, 0 )
theme_override_fonts/font = ExtResource( 3 )
text = "Bool"
items = [ "Bool", null, false, 0, null, "Integer", null, false, 1, null, "Float", null, false, 2, null, "String", null, false, 3, null, "Resource", null, false, 4, null ]
selected = 0
[node name="autoincrement_btn" type="CheckBox" parent="."]
visible = false
margin_left = 740.0
margin_right = 891.0
margin_bottom = 32.0
custom_fonts/font = ExtResource( 3 )
offset_left = 740.0
offset_right = 891.0
offset_bottom = 32.0
theme_override_fonts/font = ExtResource( 3 )
text = "Auto increment"
__meta__ = {
"_edit_use_anchors_": false