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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user