[Bf-blender-cvs] [c508138e952] temp-lanpr-review: LANPR: CMake option in the RNA.
YimingWu
noreply at git.blender.org
Sun Nov 24 15:03:35 CET 2019
Commit: c508138e9520a3fcddb98af01ba42f276b4a848b
Author: YimingWu
Date: Sun Nov 24 20:48:47 2019 +0800
Branches: temp-lanpr-review
https://developer.blender.org/rBc508138e9520a3fcddb98af01ba42f276b4a848b
LANPR: CMake option in the RNA.
===================================================================
M source/blender/editors/include/ED_lanpr.h
M source/blender/makesrna/intern/CMakeLists.txt
===================================================================
diff --git a/source/blender/editors/include/ED_lanpr.h b/source/blender/editors/include/ED_lanpr.h
index eadafa49dd2..06ffc324081 100644
--- a/source/blender/editors/include/ED_lanpr.h
+++ b/source/blender/editors/include/ED_lanpr.h
@@ -603,6 +603,7 @@ void OBJECT_OT_lanpr_update_gp_source(struct wmOperatorType *ot);
void ED_operatortypes_lanpr(void);
/* for rna */
-static bool rna_lanpr_shader_error_get(PointerRNA *UNUSED(ptr));
+struct PointerRNA;
+static bool rna_lanpr_shader_error_get(struct PointerRNA *UNUSED(ptr));
#endif /* __ED_LANPR_H__ */
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt
index b48e9763e48..03801107f98 100644
--- a/source/blender/makesrna/intern/CMakeLists.txt
+++ b/source/blender/makesrna/intern/CMakeLists.txt
@@ -305,6 +305,10 @@ if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()
+if(WITH_LANPR)
+ add_definitions(-DWITH_LANPR)
+endif()
+
if(WITH_OPENSUBDIV)
list(APPEND INC
../../../../intern/opensubdiv
More information about the Bf-blender-cvs
mailing list