Blender Git Commit Log

Git Commits -> Revision 3ca78a4

Revision 3ca78a4 by Bastien Montagne (master)
July 19, 2014, 22:52 (GMT)
Fix T41122: Mask modifier followed by hair particles causes crash on render (cycles).

There were several small issues/inconsistencies if how particles' org face index was checked,
leading in some cases to invalid indices and hence mem access, in RNA UV/VCol compute for particles.
Note org code RNA one was copied from (in BI's convertblender.s) is much more complicated,
and seems to never reach those breaking conditions.

Also deduplicated most code in those UV/VCol particles funcs, they were doing mostly the same thing!

Finally, also got rid of annoying `NO CD_ORIGSPACE, error out of range` error message in console,
was another case of not checking whether we did have any faces in final mesh!

Commit Details:

Full Hash: 3ca78a40e8b9eb7fa7c01404590ca2592a0b390d
Parent Commit: 3b2f6db
Lines Changed: +82, -159

2 Modified Paths:

/source/blender/blenkernel/intern/particle.c (+5, -2) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+77, -157) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021