Magically corrected a bug

This commit is contained in:
Thomas FORGIONE 2015-07-01 10:23:53 +02:00
parent fab183eaa7
commit 50c7845c99
1 changed files with 4 additions and 3 deletions

View File

@ -246,7 +246,8 @@ ArrowCamera.prototype.regenerateArrow = function(mainCamera) {
this.arrow.geometry.faces = faces;
this.arrow.geometry.facesNeedUpdate = true;
this.arrow.geometry.groupsNeedUpdate = true;
this.arrow.geometry.elementsNeedUpdate = true;
}
// this.arrow.geometry.mergeVertices();
@ -259,8 +260,8 @@ ArrowCamera.prototype.regenerateArrow = function(mainCamera) {
this.arrow.geometry.dynamic = true;
this.arrow.geometry.verticesNeedUpdate = true;
this.arrow.geometry.elementsNeedUpdate = true;
this.arrow.geometry.groupsNeedUpdate = true;
// this.arrow.geometry.elementsNeedUpdate = true;
// this.arrow.geometry.groupsNeedUpdate = true;
this.arrow.geometry.normalsNeedUpdate = true;
};