From 75a86d6a8e48c988294303a2390a0c7b86cca417 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 14 Jun 2015 04:52:52 +1000 Subject: Fix for building without Python --- source/gameengine/Ketsji/KX_GameObject.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp') 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. -- cgit v1.2.3