diff options
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 14b5bca1101..b04dbc75fe4 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -52,6 +52,8 @@ extern "C" { #endif // __cplusplus #include "MEM_guardedalloc.h" +#include "MEM_CacheLimiterC-Api.h" + #include "BLI_threads.h" #include "BLI_mempool.h" #include "BLI_blenlib.h" @@ -437,6 +439,7 @@ int main(int argc, char** argv) free_main(G.main); G.main = NULL; + MEM_CacheLimiter_set_disabled(true); IMB_init(); BKE_images_init(); BKE_modifier_init(); |