Add developers/.gdignore; let Godot 4 canonicalise saved scenes

The developers/aurelien sandbox scenes still reference legacy non-LOD
mesh paths (sm_book.mesh, sm_candlestick.mesh, ...) that don't exist
anymore — the production scenes were migrated to *_lod0/1/2.mesh.
Godot's full-project file scanner reads every .tscn at editor open
and emits 'Cannot open file' errors for each broken ext_resource,
even for scenes that the game never loads.

Mark developers/ as out-of-scope for Godot's filesystem walker with
a .gdignore at its root. The .import / .uid sidecars Godot had
generated for files inside (CheckLightmap.exr.import,
CheckLightmap.gd.uid) are auto-removed by the editor since they are
now orphaned metadata — only the source files (.tscn, .gd, .exr,
.lmbake) remain. Re-enabling the sandbox later just means deleting
the .gdignore; Godot will regenerate the sidecars.

The other diffs in this commit are Godot 4 canonicalising whatever
.tscn / .tres files were touched in the editor session that ran the
LightmapGI bake attempt: ext_resource uid= attributes added, format
bumped 2 -> 3, property order normalised. No behavioural change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vaillant Jeremy
2026-05-16 22:24:19 +02:00
parent 6146d84b87
commit d61a0ffcb0
44 changed files with 666 additions and 1155 deletions
+10 -14
View File
@@ -1,19 +1,15 @@
[gd_scene load_steps=4 format=2]
[gd_scene format=3 uid="uid://ck15k8nlgsgyw"]
[ext_resource path="res://assets/props/parchment/sm_wood_parchment_lod1.mesh" type="ArrayMesh" id=1]
[ext_resource path="res://assets/props/parchment/parchment.gd" type="Script" id=2]
[ext_resource path="res://assets/props/parchment/sm_paperparchment_lod0.mesh" type="ArrayMesh" id=3]
[ext_resource type="ArrayMesh" path="res://assets/props/parchment/sm_wood_parchment_lod1.mesh" id="1"]
[ext_resource type="Script" uid="uid://ckf1nh8pcemh1" path="res://assets/props/parchment/parchment.gd" id="2"]
[ext_resource type="ArrayMesh" path="res://assets/props/parchment/sm_paperparchment_lod0.mesh" id="3"]
[node name="sm_parchment" type="Node3D"]
script = ExtResource( 2 )
[node name="sm_parchment" type="Node3D" unique_id=1182674480]
script = ExtResource("2")
[node name="sm_wood_parchment_lod1" type="MeshInstance3D" parent="."]
use_in_baked_light = true
mesh = ExtResource( 1 )
surface_material_override/0 = null
[node name="sm_wood_parchment_lod1" type="MeshInstance3D" parent="." unique_id=875384535]
mesh = ExtResource("1")
[node name="paper" type="MeshInstance3D" parent="."]
[node name="paper" type="MeshInstance3D" parent="." unique_id=1202959838]
visible = false
use_in_baked_light = true
mesh = ExtResource( 3 )
surface_material_override/0 = null
mesh = ExtResource("3")