Compile fix in the editor actor component for release build (#1327)
This commit is contained in:
@@ -459,8 +459,7 @@ namespace EMotionFX
|
||||
void EditorActorComponent::OnAssetReady(AZ::Data::Asset<AZ::Data::AssetData> asset)
|
||||
{
|
||||
m_actorAsset = asset;
|
||||
Actor* actor = m_actorAsset->GetActor();
|
||||
AZ_Assert(m_actorAsset.IsReady() && actor, "Actor asset should be loaded and actor valid.");
|
||||
AZ_Assert(m_actorAsset.IsReady() && m_actorAsset->GetActor(), "Actor asset should be loaded and actor valid.");
|
||||
|
||||
CheckActorCreation();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user