Mugen87 8 лет назад
Родитель
Сommit
457113717a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/geometries/ExtrudeGeometry.js

+ 1 - 1
src/geometries/ExtrudeGeometry.js

@@ -747,7 +747,7 @@ ExtrudeBufferGeometry.prototype.addShape = function ( shape, options ) {
 
 		this.setIndex( indicesArray );
 		this.addAttribute( 'position', new Float32BufferAttribute( verticesArray, 3 ) );
-		this.addAttribute( 'uv', new Float32BufferAttribute( options.arrays.uv, 2 ) );
+		this.addAttribute( 'uv', new Float32BufferAttribute( uvArray, 2 ) );
 
 	}
 

粤ICP备19079148号