Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-31 07:11:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-10-31 07:11:39 +0300
commit0876fce0094ad3e37be4b197ef8850757eacd37b (patch)
treebdcd409899a59f1d0239b14d0ec79a7e5f531a06 /source/blender/windowmanager/intern/wm.c
parent50dab4fc37d33352c2f1c6181da9d54799e36a12 (diff)
rename and negate DISABLE_PYTHON --> WITH_PYTHON
Diffstat (limited to 'source/blender/windowmanager/intern/wm.c')
-rw-r--r--source/blender/windowmanager/intern/wm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c
index 5c4912d7aee..426069245c3 100644
--- a/source/blender/windowmanager/intern/wm.c
+++ b/source/blender/windowmanager/intern/wm.c
@@ -58,7 +58,7 @@
#include "ED_screen.h"
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
#include "BPY_extern.h"
#endif
@@ -69,7 +69,7 @@
void WM_operator_free(wmOperator *op)
{
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
if(op->py_instance) {
/* do this first incase there are any __del__ functions or
* similar that use properties */