From 46d50858d43aaa9522cc208b37e7739bc904fa2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 13 Jun 2024 12:59:07 +0200 Subject: [PATCH] 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. --- source/blender/animrig/intern/action.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/animrig/intern/action.cc b/source/blender/animrig/intern/action.cc index dcf543f7b8c..eb307351b3c 100644 --- a/source/blender/animrig/intern/action.cc +++ b/source/blender/animrig/intern/action.cc @@ -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);