|
@@ -21021,13 +21021,6 @@
|
|
|
|
|
|
}
|
|
|
|
|
|
- if ( materialProperties.numClippingPlanes !== undefined &&
|
|
|
- materialProperties.numClippingPlanes !== _clipping.numPlanes ) {
|
|
|
-
|
|
|
- material.needsUpdate = true;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
if ( material.needsUpdate === false ) {
|
|
@@ -21044,6 +21037,11 @@
|
|
|
|
|
|
material.needsUpdate = true;
|
|
|
|
|
|
+ } else if ( materialProperties.numClippingPlanes !== undefined &&
|
|
|
+ materialProperties.numClippingPlanes !== _clipping.numPlanes ) {
|
|
|
+
|
|
|
+ material.needsUpdate = true;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|