Mark an object when children have been populated

This commit is contained in:
Casper Warden
2024-09-09 01:57:23 +01:00
parent dd7b313b54
commit 540ca96697
3 changed files with 3 additions and 1 deletions

View File

@@ -1189,6 +1189,7 @@ export class ObjectStoreLite implements IObjectStore
obj.children.push(child); obj.children.push(child);
} }
} }
obj.childrenPopulated = true;
} }
} }

View File

@@ -170,6 +170,7 @@ export class GameObject implements IGameObjectData
inventory: InventoryItem[] = []; inventory: InventoryItem[] = [];
resolveAttempts = 0; resolveAttempts = 0;
childrenPopulated = false;
claimedForBuild = false; claimedForBuild = false;
createdSelected = false; createdSelected = false;

View File

@@ -1,6 +1,6 @@
{ {
"name": "@caspertech/node-metaverse", "name": "@caspertech/node-metaverse",
"version": "0.7.28", "version": "0.7.29",
"description": "A node.js interface for Second Life.", "description": "A node.js interface for Second Life.",
"main": "dist/lib/index.js", "main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",