Commit: f7d5941faad8fa5a69a7e6bb7b444c2754fbd57b Author: Brecht Van Lommel Date: Fri Aug 2 19:53:14 2019 +0200 Branches: master https://developer.blender.org/rBf7d5941faad8fa5a69a7e6bb7b444c2754fbd57b
Fix freestyle tests failing when using WITH_PYTHON_SAFETY =================================================================== M source/blender/freestyle/CMakeLists.txt =================================================================== diff --git a/source/blender/freestyle/CMakeLists.txt b/source/blender/freestyle/CMakeLists.txt index 253fcecc81c..ba5172c7916 100644 --- a/source/blender/freestyle/CMakeLists.txt +++ b/source/blender/freestyle/CMakeLists.txt @@ -575,6 +575,11 @@ set(INC_SYS add_definitions(-DWITH_FREESTYLE) +if(WITH_PYTHON_SAFETY) + # For bpy_rna.h access. + add_definitions(-DWITH_PYTHON_SAFETY) +endif() + if(WITH_INTERNATIONAL) add_definitions(-DWITH_INTERNATIONAL) endif() _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
