Blender Git Commit Log
Git Commits -> Revision 0116c95
Revision 0116c95 by Jeroen Bakker (master) June 19, 2018, 14:37 (GMT) |
Studiolight: Temp Mutex issue This is a temp fix for a better system. Currently the studiolights can be referenced by a WM_job and being freed via the API. This can happen when removing a studiolight via the interface. As the studiolight has no relation with the job, it is hard to detect if it is still being used. I tried with a Mutex and a Thread Queue but they were failing. So the current temp fix is to keep the studiolights in memory until you close blender. This Must be fixed ASAP! I added this fix so normal cases can workish. |
Commit Details:
Full Hash: 0116c95d4c9114bc9eae03401c0471fba265cd46
Parent Commit: a7e66d8
Lines Changed: +18, -25
5 Modified Paths:
/source/blender/blenkernel/BKE_studiolight.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+7, -4) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -20) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+7, -4) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -20) (Diff)