Sfoglia il codice sorgente

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

Mr.doob 10 anni fa
parent
commit
a8171288d6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 );
 
 			}