Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-10-30 14:12:25 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-12-09 23:45:36 +0300
commit3b57927651fe31ea5576cdc69f3ce134bc56a285 (patch)
tree930eedabd1ff7aa7d61a88ac3b82c4eb051ed6ae /source/blender/makesrna/intern/rna_particle.c
parentac7694aee05047750f955ee2fb0d62942392f6c0 (diff)
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
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 5987f52328d..be9bff00b52 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -2484,7 +2484,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
NULL,
"ParticleSettingsTextureSlot",
"ParticleSettingsTextureSlots",
- "rna_Particle_reset",
+ "rna_Particle_reset_dependency",
NULL);
/* Fluid particle type can't be checked from the type value in RNA