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:
authorCampbell Barton <ideasman42@gmail.com>2015-06-13 21:52:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-13 21:53:10 +0300
commit75a86d6a8e48c988294303a2390a0c7b86cca417 (patch)
tree6d4c613fa94c2f13126caa7418c9bf96d83b8f9f /source/gameengine/Ketsji/KX_GameObject.cpp
parenta1ac42f5ebbe965743182f5b0e0876dbeed00156 (diff)
Fix for building without Python
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_GameObject.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp
index e77960b99b1..34d50e24741 100644
--- a/source/gameengine/Ketsji/KX_GameObject.cpp
+++ b/source/gameengine/Ketsji/KX_GameObject.cpp
@@ -69,10 +69,13 @@
#include "BL_ActionManager.h"
#include "BL_Action.h"
-#include "KX_PythonCallBack.h"
#include "PyObjectPlus.h" /* python stuff */
#include "BLI_utildefines.h"
-#include "python_utildefines.h"
+
+#ifdef WITH_PYTHON
+# include "KX_PythonCallBack.h"
+# include "python_utildefines.h"
+#endif
// This file defines relationships between parents and children
// in the game engine.