diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-10 17:09:46 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-10 17:11:57 +0300 |
commit | c2b0d8b6d6c771da70b8fd9da5ac9cc53d04184d (patch) | |
tree | f8d0db99e875b9f56c067e894b6c5f130f50b816 /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | fc52d51d73844397b4410ced48448b496403953e (diff) |
Fix T57633: Particle texture update problem
Textures are now hooked up to the RESET operation of particle
settings, which ensures particles being re-distributed when
texture is changed.
This is limited to a direct user modifications, which matches
old behavior in 2.79.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 69c6d17cc7e..a1083cbfe0a 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -177,10 +177,10 @@ void depsgraph_tag_to_component_opcode(const ID *id, * but we can survive for now with single exception here. * Particles needs reconsideration anyway, */ - *component_type = DEG_NODE_TYPE_PARAMETERS; + *component_type = DEG_NODE_TYPE_PARTICLE_SYSTEM; } else { - *component_type = DEG_NODE_TYPE_EVAL_PARTICLES; + *component_type = DEG_NODE_TYPE_PARTICLE_SYSTEM; } break; case ID_RECALC_COPY_ON_WRITE: |