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,8 +1,8 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_20.tres" type="DynamicFont" id=1]
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_20.tres" type="FontFile" id=1]
[ext_resource path="res://addons/godot_db_manager/tables_header.gd" type="Script" id=2]
[ext_resource path="res://addons/godot_db_manager/assets/tex/gui.png" type="Texture" id=3]
[ext_resource path="res://addons/godot_db_manager/assets/tex/gui.png" type="Texture2D" id=3]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 3 )
@@ -19,9 +19,9 @@ region = Rect2( 2, 28, 24, 24 )
[node name="tables_header" type="Control"]
anchor_right = 0.188889
anchor_bottom = 0.019
margin_right = 6.10352e-05
margin_bottom = -0.4
rect_min_size = Vector2( 170, 30 )
offset_right = 6.10352e-05
offset_bottom = -0.4
custom_minimum_size = Vector2( 170, 30 )
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": true,
@@ -29,10 +29,10 @@ __meta__ = {
}
[node name="add_table_btn" type="TextureButton" parent="."]
margin_left = 2.0
margin_top = 2.0
margin_right = 26.0
margin_bottom = 26.0
offset_left = 2.0
offset_top = 2.0
offset_right = 26.0
offset_bottom = 26.0
texture_normal = SubResource( 1 )
texture_pressed = SubResource( 2 )
texture_hover = SubResource( 3 )
@@ -44,9 +44,9 @@ __meta__ = {
anchor_left = 0.165
anchor_right = 1.0
anchor_bottom = 0.8
margin_left = -0.0500259
margin_right = -0.000152588
custom_fonts/font = ExtResource( 1 )
offset_left = -0.0500259
offset_right = -0.000152588
theme_override_fonts/font = ExtResource( 1 )
text = "Tables "
align = 1
__meta__ = {
@@ -56,8 +56,8 @@ __meta__ = {
[node name="line" type="NinePatchRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 29.0
margin_right = -0.000152588
offset_top = 29.0
offset_right = -0.000152588
texture = ExtResource( 3 )
region_rect = Rect2( 80, 2, 24, 2 )
__meta__ = {