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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-09 15:08:44 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-09 15:59:48 +0300
commit5cea8bf4355dbe9d0ad5170d123b15e9babfa51a (patch)
treed569964e729c75b3bb76ad3f9bf610ae9e66e87b /source/blender/blenkernel/intern/object_update.c
parent033c2c71312daf86a148a068a2e20afcb784b3ee (diff)
Draw manager: Initial implementation of key points visualization
Does all points all the time, ignoring the setting in viewport header. This is to be addressed by the next commit.
Diffstat (limited to 'source/blender/blenkernel/intern/object_update.c')
-rw-r--r--source/blender/blenkernel/intern/object_update.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c
index 68cc0ed9ec1..c1cc6bf0bdc 100644
--- a/source/blender/blenkernel/intern/object_update.c
+++ b/source/blender/blenkernel/intern/object_update.c
@@ -465,4 +465,13 @@ void BKE_object_eval_flush_base_flags(Depsgraph *depsgraph,
object->base_flag |= BASE_FROM_SET;
object->base_flag &= ~(BASE_SELECTED | BASE_SELECTABLED);
}
+
+ if (object->mode == OB_MODE_PARTICLE_EDIT) {
+ for (ParticleSystem *psys = object->particlesystem.first;
+ psys != NULL;
+ psys = psys->next)
+ {
+ BKE_particle_batch_cache_dirty(psys, BKE_PARTICLE_BATCH_DIRTY_ALL);
+ }
+ }
}