material grabber shows instance selection if the selected instance is missing

This commit is contained in:
ForestOfLight
2025-07-10 18:50:19 -07:00
Unverified
parent 6315745f55
commit d3aa415d8a
2 changed files with 6 additions and 3 deletions
@@ -40,6 +40,10 @@ class StructureCollection {
return structure;
}
has(instanceName) {
return Boolean(this.structures[instanceName]);
}
delete(instanceName) {
const struct = this.get(instanceName);
struct.delete();