mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
move check_hierarchy()
This commit is contained in:
parent
0284746bc2
commit
434b665d4c
@ -214,15 +214,15 @@ bind_anim(AnimBundle *anim, int hierarchy_match_flags,
|
||||
}
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user