diff options
author | IRIE Shinsuke <irieshinsuke@yahoo.co.jp> | 2013-12-17 11:44:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-17 11:44:56 +0400 |
commit | 5036ac6903da222c68aac76bee49006d7e6724c1 (patch) | |
tree | 5b5ea301318f47af1d049ee8347eb71407bb6226 /source/blender/editors/space_view3d/CMakeLists.txt | |
parent | f1a989f9c35d496842b2cfa44d90ee0019c06e22 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_view3d/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/space_view3d/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 |