Add Async to anim events (false by default) to delay events execution into main thread and prevent multi-threading issues by default
#2033
This commit is contained in:
@@ -146,6 +146,7 @@ void AnimationsSystem::PostExecute(TaskGraph* graph)
|
||||
auto animatedModel = AnimationManagerInstance.UpdateList[index];
|
||||
if (CanUpdateModel(animatedModel))
|
||||
{
|
||||
animatedModel->GraphInstance.InvokeAnimEvents();
|
||||
animatedModel->OnAnimationUpdated_Sync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user