Blender Git Loki
Git Commits -> Revision 85ae4b8
Revision 85ae4b8 by Tamito Kajiyama (master) April 28, 2015, 15:57 (GMT) |
Fix T44404: freestyle crashes blender. The reported crash case seems to be caused by freeing compiled Python objects in a thread. Now this issue is avoided by allocating a buffer to store a Python script and using BPY_string_exec() to run the script. This makes it unnecessary to repeatedly create and destroy Text data blocks. Many thanks to Campbell Barton for his help on the bug fix. |
Commit Details:
Full Hash: 85ae4b87afa80527a36d3bd3164a9df6544f0c3b
Parent Commit: 7851534
Lines Changed: +65, -22
5 Modified Paths:
/source/blender/freestyle/intern/application/Controller.cpp (+6, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.h (+1, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h (+28, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+8, -21) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+22, -0) (Diff)
/source/blender/freestyle/intern/application/Controller.h (+1, -0) (Diff)
/source/blender/freestyle/intern/blender_interface/BlenderStyleModule.h (+28, -1) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+8, -21) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+22, -0) (Diff)