From 10af70cef8962744b1509614496861ee9c4a37e0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 17 Jun 2014 21:52:04 +1000 Subject: Support for building without Python --- source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/gameengine/BlenderRoutines') diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp index a5dede397bb..298b16af43b 100644 --- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp +++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp @@ -186,6 +186,8 @@ static int BL_KetsjiNextFrame(KX_KetsjiEngine *ketsjiengine, bContext *C, wmWind return exitrequested; } + +#ifdef WITH_PYTHON static struct BL_KetsjiNextFrameState { class KX_KetsjiEngine* ketsjiengine; struct bContext *C; @@ -210,6 +212,8 @@ static int BL_KetsjiPyNextFrame(void *state0) state->mousedevice, state->draw_letterbox); } +#endif + extern "C" void StartKetsjiShell(struct bContext *C, struct ARegion *ar, rcti *cam_frame, int always_use_expand_framing) { -- cgit v1.2.3