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/blenkernel/BKE_particle.h | |
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/blenkernel/BKE_particle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index aa00024b27b..cf123f78ae0 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -464,9 +464,12 @@ float psys_get_current_display_percentage(struct ParticleSystem *psys, const boo struct Depsgraph; +void BKE_particle_settings_eval_reset( + struct Depsgraph *depsgraph, + struct ParticleSettings *particle_settings); + void BKE_particle_system_eval_init(struct Depsgraph *depsgraph, - struct Scene *scene, - struct Object *ob); + struct Object *object); #endif |