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
+17 -17
View File
@@ -1,9 +1,9 @@
[gd_scene load_steps=11 format=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_18.tres" type="DynamicFont" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/tex/gui.png" type="Texture" id=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_18.tres" type="FontFile" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/tex/gui.png" type="Texture2D" id=2]
[ext_resource path="res://addons/godot_db_manager/table_item.gd" type="Script" id=3]
[ext_resource path="res://addons/godot_db_manager/assets/tex/debug.png" type="Texture" id=4]
[ext_resource path="res://addons/godot_db_manager/assets/tex/debug.png" type="Texture2D" id=4]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 2 )
@@ -32,8 +32,8 @@ region = Rect2( 54, 28, 24, 24 )
[node name="table_item" type="Control"]
anchor_right = 1.0
anchor_bottom = 0.021
margin_bottom = 0.399998
rect_min_size = Vector2( 180, 34 )
offset_bottom = 0.399998
custom_minimum_size = Vector2( 180, 34 )
script = ExtResource( 3 )
__meta__ = {
"_edit_horizontal_guides_": [ 34.0 ],
@@ -64,10 +64,10 @@ __meta__ = {
[node name="table_name" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -6.10352e-05
margin_bottom = -4.0
rect_min_size = Vector2( 100, 0 )
custom_fonts/font = ExtResource( 1 )
offset_right = -6.10352e-05
offset_bottom = -4.0
custom_minimum_size = Vector2( 100, 0 )
theme_override_fonts/font = ExtResource( 1 )
text = "Table_999"
valign = 1
__meta__ = {
@@ -85,10 +85,10 @@ __meta__ = {
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -56.0
margin_top = 5.0
margin_right = -32.0
margin_bottom = -5.0
offset_left = -56.0
offset_top = 5.0
offset_right = -32.0
offset_bottom = -5.0
texture_normal = SubResource( 1 )
texture_pressed = SubResource( 2 )
texture_hover = SubResource( 3 )
@@ -100,10 +100,10 @@ __meta__ = {
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -28.0
margin_top = 5.0
margin_right = -4.0
margin_bottom = -5.0
offset_left = -28.0
offset_top = 5.0
offset_right = -4.0
offset_bottom = -5.0
texture_normal = SubResource( 4 )
texture_pressed = SubResource( 5 )
texture_hover = SubResource( 6 )