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
+12 -12
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_cell.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( 28, 28, 24, 24 )
[node name="table_cell" type="Control"]
anchor_right = 1.0
margin_bottom = 15.36
rect_min_size = Vector2( 150, 32 )
offset_bottom = 15.36
custom_minimum_size = Vector2( 150, 32 )
script = ExtResource( 2 )
__meta__ = {
"_edit_horizontal_guides_": [ 32.0 ],
@@ -29,10 +29,10 @@ __meta__ = {
[node name="LineEdit" type="LineEdit" parent="."]
anchor_right = 1.0
anchor_bottom = 0.914286
custom_fonts/font = ExtResource( 3 )
theme_override_fonts/font = ExtResource( 3 )
text = "TESTING WWW"
caret_blink = true
caret_blink_speed = 0.5
caret_blink_interval = 0.5
__meta__ = {
"_edit_use_anchors_": true
}
@@ -41,10 +41,10 @@ __meta__ = {
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -29.0
margin_top = 4.0
margin_right = -5.0
margin_bottom = -4.0
offset_left = -29.0
offset_top = 4.0
offset_right = -5.0
offset_bottom = -4.0
texture_normal = SubResource( 1 )
texture_pressed = SubResource( 2 )
texture_hover = SubResource( 3 )
@@ -56,7 +56,7 @@ __meta__ = {
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = ExtResource( 3 )
theme_override_fonts/font = ExtResource( 3 )
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
@@ -66,7 +66,7 @@ __meta__ = {
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = ExtResource( 3 )
theme_override_fonts/font = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}