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_Scene.cpp
parenta1ac42f5ebbe965743182f5b0e0876dbeed00156 (diff)
Fix for building without Python
Diffstat (limited to 'source/gameengine/Ketsji/KX_Scene.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_Scene.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp
index 25755f7127b..2adc20b0288 100644
--- a/source/gameengine/Ketsji/KX_Scene.cpp
+++ b/source/gameengine/Ketsji/KX_Scene.cpp
@@ -35,6 +35,8 @@
# pragma warning (disable:4786)
#endif
+#include <stdio.h>
+
#include "KX_Scene.h"
#include "KX_PythonInit.h"
#include "MT_assert.h"
@@ -43,7 +45,6 @@
#include "KX_FontObject.h"
#include "RAS_IPolygonMaterial.h"
#include "ListValue.h"
-#include "KX_PythonCallBack.h"
#include "SCA_LogicManager.h"
#include "SCA_TimeEventManager.h"
//#include "SCA_AlwaysEventManager.h"
@@ -95,12 +96,14 @@
#include "KX_ObstacleSimulation.h"
#ifdef WITH_BULLET
-#include "KX_SoftBodyDeformer.h"
+# include "KX_SoftBodyDeformer.h"
#endif
-#include "KX_Light.h"
+#ifdef WITH_PYTHON
+# include "KX_PythonCallBack.h"
+#endif
-#include <stdio.h>
+#include "KX_Light.h"
#include "BLI_task.h"