add world position properties to LdtkLevel and update scene builder
This commit is contained in:
@@ -52,10 +52,6 @@ public partial class LdtkResourceImporter : EditorImportPlugin
|
||||
var scene = new PackedScene();
|
||||
scene.Pack(rootNode);
|
||||
|
||||
var newSceneNodeCount = scene.GetState().GetNodeCount();
|
||||
|
||||
GD.Print($"New scene node count: {newSceneNodeCount}, expected: {rootNode.GetChildCount() + 1} (including root)");
|
||||
|
||||
// 4. Save the generated scene
|
||||
var destinationPath = $"{savePath}.{_GetSaveExtension()}";
|
||||
var error = ResourceSaver.Save(scene, destinationPath);
|
||||
|
Reference in New Issue
Block a user