From 5036ac6903da222c68aac76bee49006d7e6724c1 Mon Sep 17 00:00:00 2001 From: IRIE Shinsuke Date: Tue, 17 Dec 2013 18:44:56 +1100 Subject: Partial fix for T37604: Deadlock when stopping rendered viewport (Blender Internal) - Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender. - The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support. --- source/blender/editors/space_view3d/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/editors/space_view3d/CMakeLists.txt') diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt index 51477ec2ae7..97c328dbac2 100644 --- a/source/blender/editors/space_view3d/CMakeLists.txt +++ b/source/blender/editors/space_view3d/CMakeLists.txt @@ -64,6 +64,11 @@ set(SRC view3d_intern.h ) +if(WITH_PYTHON) + blender_include_dirs(../../python) + add_definitions(-DWITH_PYTHON) +endif() + if(WITH_GAMEENGINE) list(APPEND INC ../../../gameengine/BlenderRoutines -- cgit v1.2.3