Fix T76251: Animated procedural texture does not influence particle system
Dependancy missing while building depsgraph for particle systems. fix: adding a relation texture->particles when texture has animation data. Reviewed By: sergey Maniphest Tasks: T76251 Differential Revision: https://developer.blender.org/D7573
This commit is contained in:
@@ -1877,8 +1877,9 @@ void DepsgraphRelationBuilder::build_particle_settings(ParticleSettings *part)
|
||||
ComponentKey texture_key(&mtex->tex->id, NodeType::GENERIC_DATABLOCK);
|
||||
add_relation(texture_key,
|
||||
particle_settings_reset_key,
|
||||
"Particle Texture",
|
||||
"Particle Texture -> Particle Reset",
|
||||
RELATION_FLAG_FLUSH_USER_EDIT_ONLY);
|
||||
add_relation(texture_key, particle_settings_eval_key, "Particle Texture -> Particle Eval");
|
||||
/* TODO(sergey): Consider moving texture space handling to an own
|
||||
* function. */
|
||||
if (mtex->texco == TEXCO_OBJECT && mtex->object != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user