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.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 0b1fbf977dd..5bed4fa40b6 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -58,11 +58,15 @@ extern "C"
#endif // __cplusplus
#include "MEM_guardedalloc.h"
#include "BLI_threads.h"
+#include "BLI_mempool.h"
#include "BLI_blenlib.h"
+
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
+
#include "BLO_readfile.h"
#include "BLO_runtime.h"
+
#include "BKE_blender.h"
#include "BKE_depsgraph.h"
#include "BKE_global.h"
@@ -74,6 +78,7 @@ extern "C"
#include "BKE_modifier.h"
#include "BKE_text.h"
#include "BKE_sound.h"
+
#include "IMB_imbuf.h"
int GHOST_HACK_getFirstFile(char buf[]);
@@ -580,8 +585,11 @@ int main(int argc, char** argv)
case 'd':
i++;
- G.debug |= G_DEBUG; /* std output printf's */
+ G.debug |= G_DEBUG;
MEM_set_memory_debug();
+#ifdef DEBUG
+ BLI_mempool_set_memory_debug();
+#endif
break;
case 'f':