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>2020-10-16 07:56:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-16 07:56:26 +0300
commit0a2ae7f220afd7b06f485947758acb4c27075955 (patch)
tree8db5b4393ea2108e2650128e6eed6c849a1ed541 /source/blender/makesrna/intern/rna_render.c
parent9fb2ce70d69eb8d36a814ea5a430c3da4cc73551 (diff)
RNA: support building WITH_PYTHON=OFF
Diffstat (limited to 'source/blender/makesrna/intern/rna_render.c')
-rw-r--r--source/blender/makesrna/intern/rna_render.c4
1 files changed, 3 insertions, 1 deletions
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"