Browse Source

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

Mr.doob 10 years ago
parent
commit
a8171288d6
1 changed files with 1 additions and 1 deletions
  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 ) {
 			if ( drawcalls.length === 0 ) {
 
 
-				geometry.addDrawCall( 0, indices.length );
+				geometry.addGroup( 0, indices.length );
 
 
 			}
 			}