Don't use UE4 allocators in editor mode

This commit is contained in:
Pieter Vantorre 2018-03-20 12:33:22 +01:00
parent f89f3fad21
commit a94d2f3c34

View File

@ -53,9 +53,11 @@ static void * SpineRealloc( void* ptr, size_t size ) {
}
void FSpinePlugin::StartupModule() {
#if !UE_EDITOR
_spSetMalloc( &SpineMalloc );
_spSetRealloc( &SpineRealloc );
_spSetFree( FMemory::Free );
#endif
}
void FSpinePlugin::ShutdownModule() { }