Ver Fonte

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

Mr.doob há 10 anos atrás
pai
commit
a8171288d6
1 ficheiros alterados com 1 adições e 1 exclusões
  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 );
 
 			}