Blender Git Loki

Git Commits -> Revision 51812fb

Revision 51812fb by Bastien Montagne (master)
July 12, 2016, 19:11 (GMT)
Fix 48831, Step I: Mismatch issues bewteen ID icon and preview system.

- icon_id from ID and PreviewImage were not guaranteed to be in sync.
- PreviewImage one was not reset on file read.
- Through RNA e.g., it was possible to ensure an ID icon via its preview image,
which was running code designed for custom previews/icons system, instead
of generating correct 'auto ID icon'.

Commit Details:

Full Hash: 51812fb502c0a3034055df2c7b80e77dba5e91c3
Parent Commit: 5fae250
Lines Changed: +46, -16

4 Modified Paths:

/source/blender/blenkernel/BKE_icons.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/icons.c (+43, -14) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021