Explorar o código

WireframeGeometry: Fixed addGroups() call. Fixes #7200.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
a8171288d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/extras/geometries/WireframeGeometry.js

+ 1 - 1
src/extras/geometries/WireframeGeometry.js

@@ -81,7 +81,7 @@ THREE.WireframeGeometry = function ( geometry ) {
 
 			if ( drawcalls.length === 0 ) {
 
-				geometry.addDrawCall( 0, indices.length );
+				geometry.addGroup( 0, indices.length );
 
 			}