move check_hierarchy()
This commit is contained in:
parent
0284746bc2
commit
434b665d4c
|
|
@ -213,16 +213,16 @@ bind_anim(AnimBundle *anim, int hierarchy_match_flags,
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (!check_hierarchy(anim, NULL, hierarchy_match_flags)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
JointTransformList::iterator jti;
|
||||
for (jti = _frozen_joints.begin(); jti != _frozen_joints.end(); ++jti) {
|
||||
anim->make_child_fixed((*jti).name, (*jti).transform);
|
||||
}
|
||||
|
||||
if (!check_hierarchy(anim, NULL, hierarchy_match_flags)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
plist<int> holes;
|
||||
int channel_index = 0;
|
||||
pick_channel_index(holes, channel_index);
|
||||
|
|
|
|||
Loading…
Reference in New Issue