Page MenuHome

Fix T69000: Hair: changing children related settings not updating in particle editmode
Needs ReviewPublic

Authored by Philipp Oeser (lichtwerk) on Sep 27 2019, 3:39 PM.

Details

Summary

Settings in question are ParticleSettings related (not ParticleSystem),
so in order to tag batch cache dirty on the corresponding [potentionally
multiple -- on multiple objects] ParticleSystems using these
ParticleSettings, we have to loop bmain... Not nice, but I recall we are
doing this elsewhere, too.

Diff Detail

Repository
rB Blender
Branch
T69000 (branched from master)
Build Status
Buildable 5141
Build 5141: arc lint + arc unit

Event Timeline

only do this for particle editmode

source/blender/makesrna/intern/rna_particle.c
629–639

Is it possible to move this to an evaluation side somehow (to replace such global object lookup with more correct dependency related flush) ?

source/blender/makesrna/intern/rna_particle.c
629–639

Actually, on a second though we would still need an ID.
So, what is the ptr->owner_id is set to in this case?