Преглед на файлове

SkinnedMesh: Correct Format

Mugen87 преди 8 години
родител
ревизия
fe30d74643
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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 );