viral-viewer-2 6.8.9 → 6.9.1
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/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -35338,7 +35338,7 @@ class ox {
|
|
|
35338
35338
|
seedObjectCount: u.getObjectCount()
|
|
35339
35339
|
});
|
|
35340
35340
|
if (d.length) {
|
|
35341
|
-
|
|
35341
|
+
u.batch(d[0]);
|
|
35342
35342
|
for (let f = 1; f < d.length; f++)
|
|
35343
35343
|
this.createSingleMergedMesh(d[f], h, l);
|
|
35344
35344
|
}
|
|
@@ -40618,7 +40618,7 @@ class bI {
|
|
|
40618
40618
|
}
|
|
40619
40619
|
), this.viralViewerApi.viralScene.mergedModel.children.forEach(
|
|
40620
40620
|
(e) => {
|
|
40621
|
-
e.material instanceof un && e.material.transparent && e.enableLights();
|
|
40621
|
+
e.material instanceof un && e.material.transparent && e.enableLights && e.enableLights();
|
|
40622
40622
|
}
|
|
40623
40623
|
), this.viralViewerApi.viralRenderer.render();
|
|
40624
40624
|
}
|
|
@@ -40631,7 +40631,7 @@ class bI {
|
|
|
40631
40631
|
}
|
|
40632
40632
|
), this.viralViewerApi.viralScene.mergedModel.children.forEach(
|
|
40633
40633
|
(e) => {
|
|
40634
|
-
e.material instanceof un && e.material.transparent && e.disableLights();
|
|
40634
|
+
e.material instanceof un && e.material.transparent && e.disableLights && e.disableLights();
|
|
40635
40635
|
}
|
|
40636
40636
|
), this.viralViewerApi.viralRenderer.render();
|
|
40637
40637
|
}
|