EMotion FX: Deleting a corresponding anim graph when a Reference node is open crashes the Editor (#5612)
Signed-off-by: Benjamin Jillich <jillich@amazon.com>
This commit is contained in:
@@ -642,6 +642,8 @@ namespace EMotionFX
|
||||
|
||||
void AnimGraphReferenceNode::OnAnimGraphAssetChanged()
|
||||
{
|
||||
AnimGraphNotificationBus::Broadcast(&AnimGraphNotificationBus::Events::OnReferenceAnimGraphAboutToBeChanged, this);
|
||||
|
||||
ReleaseAnimGraphInstances();
|
||||
|
||||
AnimGraphNotificationBus::Broadcast(&AnimGraphNotificationBus::Events::OnReferenceAnimGraphChanged, this);
|
||||
|
||||
Reference in New Issue
Block a user