diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 10:56:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 10:56:45 +0300 |
commit | 1dd1cea06e0bb1c9cd1e08fd9f359893dc2681a3 (patch) | |
tree | cad3a7d94daf0b17742bf707d159e6ca867b5cc5 /source/blender/python | |
parent | 04d374194756516c8b7a15fff99bfa72a2239f75 (diff) |
fix for error when changing DISBALE_PYTHON -> WITH_PYTHON,
This define wasn't set in some parts of the BGE causing problems with the view matrix.
in CMake define for the entire BGE fixes this.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index cb9c791f6f1..584ba235e30 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -25,6 +25,7 @@ /* This file defines the '_bpy' module which is used by python's 'bpy' package. * a script writer should never directly access this module */ +#define WITH_PYTHON /* for AUD_PyInit.h, possibly others */ #include "bpy_util.h" #include "bpy_rna.h" |