Blender Git Loki
Git Commits -> Revision 1a71d5a
Revision 1a71d5a by Bastien Montagne (master) March 16, 2018, 16:06 (GMT) |
Fix T54310: Assert when enable Brush custom icon. We had a mix of two issues here actually: * First, Brush are currently using their own sauce for custom previews, this is not great, but moving them to use common ImagePreview system of IDs is a low-priority TODO. For now, they should totally ignore their own ImagePreview. * Second, BKE_icon_changed() would systematically create a PreviewImage for ID types supporting it, which does not really makes sense, this function is merely here to 'tag' previews as outdated. Actual creation of previews is deferred to later, when we actually need them. |
Commit Details:
Full Hash: 1a71d5ae85c8080705fc88188b6ef78aad29efdd
Parent Commit: 67e2806
Lines Changed: +7, -6