vim-web 0.3.42-dev.10 → 0.3.42-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vim-web.iife.js +8 -0
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +8 -0
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.js
CHANGED
|
@@ -45704,6 +45704,13 @@ class Object3D2 {
|
|
|
45704
45704
|
if (this._visibleAttribute.apply(value)) {
|
|
45705
45705
|
this.vim.scene.setDirty();
|
|
45706
45706
|
}
|
|
45707
|
+
if (value) {
|
|
45708
|
+
this._meshes.forEach((m) => {
|
|
45709
|
+
if (m.mesh.mesh.visible) {
|
|
45710
|
+
m.mesh.mesh.visible = true;
|
|
45711
|
+
}
|
|
45712
|
+
});
|
|
45713
|
+
}
|
|
45707
45714
|
}
|
|
45708
45715
|
/**
|
|
45709
45716
|
* Gets or sets the display color of this object.
|
|
@@ -52820,6 +52827,7 @@ class RenderScene {
|
|
|
52820
52827
|
add(target) {
|
|
52821
52828
|
if (target instanceof Scene2) {
|
|
52822
52829
|
this.addScene(target);
|
|
52830
|
+
target.material = this._modelMaterial;
|
|
52823
52831
|
return;
|
|
52824
52832
|
}
|
|
52825
52833
|
this._2dCount += this.count2dObjects(target);
|