mirror of
https://github.com/godotengine/godot
synced 2024-10-06 16:14:58 +00:00
Merge pull request #51285 from V-Sekai/reset-anim-spam
Reset baking should not spam on lack of animation players.
This commit is contained in:
commit
d393708e75
|
@ -151,7 +151,9 @@ void BakeReset::_align_animations(AnimationPlayer *p_ap, const Map<StringName, B
|
|||
}
|
||||
|
||||
void BakeReset::_fetch_reset_animation(AnimationPlayer *p_ap, Map<StringName, BakeResetRestBone> &r_rest_bones, const String &p_bake_anim) {
|
||||
ERR_FAIL_NULL(p_ap);
|
||||
if (!p_ap) {
|
||||
return;
|
||||
}
|
||||
List<StringName> anim_names;
|
||||
p_ap->get_animation_list(&anim_names);
|
||||
Node *root = p_ap->get_owner();
|
||||
|
|
Loading…
Reference in a new issue