Răsfoiți Sursa

Remove variable who is assigned to itself, and add missing semicolon in BlendCharacter

Tristan Valcke 8 ani în urmă
părinte
comite
ff2e5ae077
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      examples/js/BlendCharacter.js

+ 2 - 3
examples/js/BlendCharacter.js

@@ -39,7 +39,6 @@ THREE.BlendCharacter = function () {
 			scope.material.skinning = true;
 
 			scope.mixer = new THREE.AnimationMixer( scope );
-			scope.mixer = scope.mixer;
 
 			// Create the animations
 			for ( var i = 0; i < scope.geometry.animations.length; ++ i ) {
@@ -129,7 +128,7 @@ THREE.BlendCharacter = function () {
 
 		return this.mixer.clipAction( animName ).getEffectiveWeight();
 
-	}
+	};
 
 	this.pauseAll = function() {
 
@@ -154,7 +153,7 @@ THREE.BlendCharacter = function () {
 
 		this.visible = boolean;
 
-	}
+	};
 
 };