Blender Git Loki
Git Commits -> Revision e3052ec
Revision e3052ec by Jeroen Bakker (master) June 20, 2018, 07:29 (GMT) |
Studiolight: removed raise condition Happened when deleting many studiolights at the same time when the previews were still beging calculated in the background. Added a free function callback that is filled when the preview is being generated. This free function will then kill the preview job This patch also removes icons that are not valid anymore so the user cannot accidentally render an icon where the studiolight is invalid. In the end we should use a add/remove function in the studiolight as currently icons are recalculated too much. |
Commit Details:
Full Hash: e3052ecb0d246381558c75219962915140bbe4ca
Parent Commit: 91c0f17
Lines Changed: +98, -19
8 Modified Paths:
/source/blender/blenkernel/BKE_studiolight.h (+12, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+9, -3) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+43, -6) (Diff)
/source/blender/editors/interface/interface_icons.c (+30, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -6) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+3, -0) (Diff)
/source/blender/blenkernel/intern/icons.c (+9, -3) (Diff)
/source/blender/blenkernel/intern/studiolight.c (+43, -6) (Diff)
/source/blender/editors/interface/interface_icons.c (+30, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+0, -6) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+0, -1) (Diff)