Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp3
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();