Merge branch 'anim-slot-blend' of https://github.com/Tryibion/FlaxEngine into Tryibion-anim-slot-blend

This commit is contained in:
Wojtek Figat
2024-08-15 15:06:39 +02:00
2 changed files with 61 additions and 9 deletions

View File

@@ -506,7 +506,7 @@ void AnimatedModel::StopSlotAnimation(const StringView& slotName, Animation* ani
{
if (slot.Animation == anim && slot.Name == slotName)
{
slot.Animation = nullptr;
//slot.Animation = nullptr; // TODO: make an immediate version of this method and set the animation to nullptr.
slot.Reset = true;
break;
}