Explorar o código

Merge pull request #18691 from ricardoreiter/bugfix/18675

WebGLClipping: Set numIntersection to 0 in projectPlanes().
Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
f764d28a3f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/renderers/webgl/WebGLClipping.js

+ 1 - 0
src/renderers/webgl/WebGLClipping.js

@@ -153,6 +153,7 @@ function WebGLClipping() {
 		}
 
 		scope.numPlanes = nPlanes;
+		scope.numIntersection = 0;
 
 		return dstArray;