[Bf-blender-cvs] [0a2ae7f220a] master: RNA: support building WITH_PYTHON=OFF
Campbell Barton
noreply at git.blender.org
Fri Oct 16 06:58:48 CEST 2020
Commit: 0a2ae7f220afd7b06f485947758acb4c27075955
Author: Campbell Barton
Date: Fri Oct 16 15:56:03 2020 +1100
Branches: master
https://developer.blender.org/rB0a2ae7f220afd7b06f485947758acb4c27075955
RNA: support building WITH_PYTHON=OFF
===================================================================
M source/blender/makesrna/intern/rna_render.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c
index 35563ad143e..05b3b0b0c70 100644
--- a/source/blender/makesrna/intern/rna_render.c
+++ b/source/blender/makesrna/intern/rna_render.c
@@ -27,7 +27,9 @@
#include "BLI_path_util.h"
#include "BLI_utildefines.h"
-#include "BPY_extern.h"
+#ifdef WITH_PYTHON
+# include "BPY_extern.h"
+#endif
#include "DEG_depsgraph.h"
More information about the Bf-blender-cvs
mailing list