[Bf-blender-cvs] [2d2c64dd187] blender2.8: Building without Python works again

Campbell Barton noreply at git.blender.org
Mon Jun 26 05:44:13 CEST 2017


Commit: 2d2c64dd187bb1d83c9b28d837d86ed5168d6819
Author: Campbell Barton
Date:   Mon Jun 26 13:50:11 2017 +1000
Branches: blender2.8
https://developer.blender.org/rB2d2c64dd187bb1d83c9b28d837d86ed5168d6819

Building without Python works again

===================================================================

M	source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c

===================================================================

diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
index 3b58526069f..f338a14dfbc 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulator_group.c
@@ -42,8 +42,6 @@
 #include "BLI_listbase.h"
 #include "BLI_string.h"
 
-#include "BPY_extern.h"
-
 #include "ED_screen.h"
 
 #include "MEM_guardedalloc.h"
@@ -59,6 +57,9 @@
 #include "wm_manipulator_wmapi.h"
 #include "wm_manipulator_intern.h"
 
+#ifdef WITH_PYTHON
+#  include "BPY_extern.h"
+#endif
 
 /* -------------------------------------------------------------------- */
 /** \name wmManipulatorGroup




More information about the Bf-blender-cvs mailing list