From 54ceccd0eeabc3e5cf8fb17882bc5c60fce6253e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Jan 2011 08:43:29 +0000 Subject: - cmake use execute_process, exec_program is deprecated. - game engine builds without python again. --- source/gameengine/Ketsji/KX_IpoActuator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji') diff --git a/source/gameengine/Ketsji/KX_IpoActuator.h b/source/gameengine/Ketsji/KX_IpoActuator.h index dc3ff5543f9..61e7f0451d1 100644 --- a/source/gameengine/Ketsji/KX_IpoActuator.h +++ b/source/gameengine/Ketsji/KX_IpoActuator.h @@ -103,11 +103,12 @@ public: KX_ACT_IPO_MAX }; +#ifdef WITH_PYTHON static PyObject* pyattr_get_frame_start(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); static int pyattr_set_frame_start(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef, PyObject *value); static PyObject* pyattr_get_frame_end(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); static int pyattr_set_frame_end(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef, PyObject *value); - +#endif static const char *S_KX_ACT_IPO_PLAY_STRING; static const char *S_KX_ACT_IPO_PINGPONG_STRING; static const char *S_KX_ACT_IPO_FLIPPER_STRING; -- cgit v1.2.3