Anim: remove invalid assertion

Remove the assertion in `animrig::assign_animation()` that the passed
Action is a layered Action. The code works equally well for legacy Actions.

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2024-06-13 12:59:07 +02:00
parent 34c5c2a6da
commit 46d50858d4

View File

@@ -616,8 +616,6 @@ bool Binding::has_idtype() const
bool assign_animation(Action &anim, ID &animated_id)
{
BLI_assert(anim.is_action_layered());
unassign_animation(animated_id);
Binding *binding = anim.find_suitable_binding_for(animated_id);