Blender Git Loki
Git Commits -> Revision f5c0ef5
Revision f5c0ef5 by Robert Guetzkow (master) January 12, 2021, 11:14 (GMT) |
Fix T84588: Cache access in rna_Particle_uv_on_emitter The function `rna_Particle_uv_on_emitter` did not handle the case where `particle->num_dmcache` was `DMCACHE_ISCHILD`. This resulted in an incorrect offset for the `mtface` pointer. The commit checks for the case and sets the offset accordingly, similar to existing code in e.g. `particle_calculate_parent_uvs`. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10072 |
Commit Details:
Full Hash: f5c0ef52cf2f4ae333269eec33e5bd7a89a00a23
Parent Commit: c56da67
Lines Changed: +7, -6