Browse Source

Remove findBone() from PropertyBinding

Takahiro 7 years ago
parent
commit
31497d7812
1 changed files with 0 additions and 22 deletions
  1. 0 22
      src/animation/PropertyBinding.js

+ 0 - 22
src/animation/PropertyBinding.js

@@ -266,28 +266,6 @@ Object.assign( PropertyBinding, {
 
 
 		return null;
 		return null;
 
 
-	},
-
-	findBone: function ( root, boneName ) {
-
-		var skeleton = root.skeleton;
-
-		if ( skeleton === undefined ) return null;
-
-		for ( var i = 0, il = skeleton.bones.length; i < il; i ++ ) {
-
-			var bone = skeleton.bones[ i ];
-
-			if ( bone.name === boneName ) {
-
-				return bone;
-
-			}
-
-		}
-
-		return null;
-
 	}
 	}
 
 
 } );
 } );