|
@@ -1691,6 +1691,13 @@
|
|
|
this._worldSpaceNode = settings.customWorldSpaceNode;
|
|
|
this.applyCachedTexture(null, null);
|
|
|
}
|
|
|
+
|
|
|
+ this.propertyChanged.add((e, st) => {
|
|
|
+ let mesh = this._worldSpaceNode as AbstractMesh;
|
|
|
+ if (mesh) {
|
|
|
+ mesh.isVisible = this.isVisible;
|
|
|
+ }
|
|
|
+ }, Prim2DBase.isVisibleProperty.flagId);
|
|
|
}
|
|
|
}
|
|
|
|