We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd967c commit a9cfdfaCopy full SHA for a9cfdfa
scripts/JSRootGeoPainter.js
@@ -1679,7 +1679,7 @@
1679
1680
var painter = this;
1681
this._scene.traverse( function (node) {
1682
- if (node instanceof THREE.Mesh) {
+ if (node.material && (node.material.clippingPlanes!==undefined)) {
1683
node.material.clipIntersection = painter.clipIntersection;
1684
node.material.clippingPlanes = [];
1685
if (painter.enableX) node.material.clippingPlanes.push(painter._clipPlanes[0]);
0 commit comments