Loading actor in editor using asset system.
Signed-off-by: rhhong <rhhong@amazon.com>
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <EMotionFX/Source/ActorManager.h>
|
||||
#include <EMotionFX/Source/ActorInstance.h>
|
||||
#include <EMotionFX/Source/EMotionFXManager.h>
|
||||
#include <EMotionFX/Source/Importer/Importer.h>
|
||||
@@ -64,8 +63,6 @@ namespace EMotionFX
|
||||
&actorSettings,
|
||||
"");
|
||||
|
||||
// Set the is owned by runtime flag before finalizing the actor, as that uses the flag already.
|
||||
assetData->m_emfxActor->SetIsOwnedByRuntime(true);
|
||||
assetData->m_emfxActor->Finalize();
|
||||
|
||||
// Clear out the EMFX raw asset data.
|
||||
|
||||
Reference in New Issue
Block a user