diff --git a/src/core/Geometry.js b/src/core/Geometry.js index f5d2135ee332ab805218c75a4c1d280afa57de88..e58267b9275b8935ab8f99c71be5cf78a1f06260 100644 --- a/src/core/Geometry.js +++ b/src/core/Geometry.js @@ -573,12 +573,13 @@ THREE.Geometry.prototype = { } for ( i = faceIndicesToRemove.length - 1; i >= 0; i -- ) { - - this.faces.splice( i, 1 ); + var idx = faceIndicesToRemove[ i ]; + + this.faces.splice( idx, 1 ); for ( j = 0, jl = this.faceVertexUvs.length; j < jl; j ++ ) { - this.faceVertexUvs[ j ].splice( i, 1 ); + this.faceVertexUvs[ j ].splice( idx, 1 ); }