diff --git a/src/mesh/NineSlicePlane.js b/src/mesh/NineSlicePlane.js index 297e460..61ba5ee 100644 --- a/src/mesh/NineSlicePlane.js +++ b/src/mesh/NineSlicePlane.js @@ -363,7 +363,7 @@ this.updateHorizontalVertices(); this.updateVerticalVertices(); - this.dirty = true; + this.dirty++; this.multiplyUvs(); } diff --git a/src/mesh/NineSlicePlane.js b/src/mesh/NineSlicePlane.js index 297e460..61ba5ee 100644 --- a/src/mesh/NineSlicePlane.js +++ b/src/mesh/NineSlicePlane.js @@ -363,7 +363,7 @@ this.updateHorizontalVertices(); this.updateVerticalVertices(); - this.dirty = true; + this.dirty++; this.multiplyUvs(); } diff --git a/src/mesh/Plane.js b/src/mesh/Plane.js index 4f9b51c..4dd2398 100644 --- a/src/mesh/Plane.js +++ b/src/mesh/Plane.js @@ -94,7 +94,7 @@ this.uvs = new Float32Array(uvs); this.colors = new Float32Array(colors); this.indices = new Uint16Array(indices); - this.indexDirty = true; + this.indexDirty++; this.multiplyUvs(); }