Skip to content

AnimationOptimizer too eager to early out ? #176

@jankrassnigg

Description

@jankrassnigg

I quickly gave AnimationOptimizer a try to see how it would optimize my animation clips, but it doesn't do anything.

It does an early out here:

  // Validates the skeleton matches the animation.
  if (num_tracks != _skeleton.num_joints()) {
    return false;
  }

My skeleton has 20 joints. The animation clip only has 18 tracks. All my animation playback etc works fine, so this data shouldn't be a problem, could it be that the AnimationOptimizer has an invalid assumption that these numbers must match?

I've attached the file that I use for testing.

Pete.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions