diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-12 12:55:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-12 12:57:32 +0300 |
commit | d3870471edd775777f774dba4e66a3c87b632509 (patch) | |
tree | e7bbb1bf9a523c8e04d73bf337de6f4ebdf3024d /source/blender | |
parent | 65ffc414fe2f6700c586b954331aa96ddba0eedb (diff) |
Fix fur on Spring characters
There is an issue of hair being completely messed up when
switching to a simulation view layer for Autumn.
Restoring back the code which was re-setting particles on
file load. This will re-set unbacked particles on file load
but this appears to be happening in 2.7 as well.
Can not reproduce bugs which were fixed in this area recently,
so maybe it's finally tackled (fingers crossed!).
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particlesystem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_particlesystem.c b/source/blender/modifiers/intern/MOD_particlesystem.c index 70404a1cb63..4f9b6280026 100644 --- a/source/blender/modifiers/intern/MOD_particlesystem.c +++ b/source/blender/modifiers/intern/MOD_particlesystem.c @@ -130,6 +130,10 @@ static void deformVerts( if (psys->particles == NULL) { psys->recalc |= ID_RECALC_PSYS_RESET; } + /* TODO(sergey): This is not how particles were working prior to copy on + * write, but now evaluation is similar to case when one duplicates the + * object. In that case particles were doing reset here. */ + psys->recalc |= ID_RECALC_PSYS_RESET; } /* make new mesh */ |