diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-05 17:37:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-05 17:37:25 +0300 |
commit | c014e03b17d34e1ba506c8af56d25ba378390357 (patch) | |
tree | 349d4ec8b6e36d85e9b2783b713d5ef79226acfa /source/blender/blenkernel/intern/pointcache.c | |
parent | 34d5651a17ef3be26ee66905d53b54e745cf1efc (diff) |
Don't tag objects from inside function which is used by dependency graph
This partially reverts 9edc64e255b. If tag is needed, do it outside of
dependency graph evaluation.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r-- | source/blender/blenkernel/intern/pointcache.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c index affe95ffe78..f336b7da144 100644 --- a/source/blender/blenkernel/intern/pointcache.c +++ b/source/blender/blenkernel/intern/pointcache.c @@ -75,8 +75,6 @@ #include "BIK_api.h" -#include "DEG_depsgraph.h" - #ifdef WITH_BULLET # include "RBI_api.h" #endif @@ -3445,7 +3443,6 @@ int BKE_ptcache_object_reset(Scene *scene, Object *ob, int mode) if (ob->type == OB_ARMATURE) BIK_clear_cache(ob->pose); - DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE); return reset; } |