Browse Source

SkinnedMesh: Correct Format

Mugen87 8 years ago
parent
commit
fe30d74643
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/objects/SkinnedMesh.js

+ 2 - 2
src/objects/SkinnedMesh.js

@@ -183,11 +183,11 @@ SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
 
 		Mesh.prototype.updateMatrixWorld.call( this, force );
 
-		if ( this.bindMode === "attached" ) {
+		if ( this.bindMode === 'attached' ) {
 
 			this.bindMatrixInverse.getInverse( this.matrixWorld );
 
-		} else if ( this.bindMode === "detached" ) {
+		} else if ( this.bindMode === 'detached' ) {
 
 			this.bindMatrixInverse.getInverse( this.bindMatrix );