Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/animation/AnimationClip.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,15 @@ class AnimationClip {
* Parses the `animation.hierarchy` format and returns a new animation clip.
*
* @static
* @deprecated since r175.
* @param {Object} animation - A serialized animation clip as JSON.
* @param {Array<Bones>} bones - An array of bones.
* @return {AnimationClip} The new animation clip.
*/
static parseAnimation( animation, bones ) {

console.warn( 'THREE.AnimationClip: parseAnimation() is deprecated and will be removed with r185' );

if ( ! animation ) {

console.error( 'THREE.AnimationClip: No animation in JSONLoader data.' );
Expand Down
Loading