From aeef01559ef1ded236475344e0be1d88028d7c24 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Fri, 6 Mar 2009 14:58:37 +0000 Subject: 2.5 / SCons * make sure we can still compile WITH_BF_PYTHON=0 --- source/blender/editors/space_script/space_script.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_script') diff --git a/source/blender/editors/space_script/space_script.c b/source/blender/editors/space_script/space_script.c index 054033fd987..c7f280f439e 100644 --- a/source/blender/editors/space_script/space_script.c +++ b/source/blender/editors/space_script/space_script.c @@ -157,10 +157,12 @@ static void script_main_area_draw(const bContext *C, ARegion *ar) /* data... */ // BPY_run_python_script(C, "/root/blender-svn/blender25/test.py", NULL); +#ifndef DISABLE_PYTHON if (sscript->script) { //BPY_run_python_script_space(scpt->script.filename, NULL); BPY_run_script_space_draw(C, sscript); } +#endif /* reset view matrix */ UI_view2d_view_restore(C); -- cgit v1.2.3