Blender Git Loki

Git Commits -> Revision 3b57927

Revision 3b57927 by Philipp Oeser (master)
December 9, 2020, 20:45 (GMT)
Fix T82242: creating particle influence textures does not set up DEG
relation immediately

Texture and ParticleSettings have a DEG relation, but
`DEG_relations_tag_update` was not called when the texture changed.
This lead to no updates when e.g. texture size changes, relation only
went into full effect after save/reload or adding/removing keyframes.

Two places were additional relation tagging is needed:
- ParticleSettings `active_texture` changes
- ParticleSettingsTextureSlot (basically any TextureSlots') texture
changes

Maniphest Tasks: T82242

Differential Revision: https://developer.blender.org/D9393

Commit Details:

Full Hash: 3b57927651fe31ea5576cdc69f3ce134bc56a285
Parent Commit: ac7694a
Lines Changed: +9, -2

2 Modified Paths:

/source/blender/makesrna/intern/rna_particle.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+8, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021