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-12-05 17:37:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-12-05 17:37:25 +0300
commitc014e03b17d34e1ba506c8af56d25ba378390357 (patch)
tree349d4ec8b6e36d85e9b2783b713d5ef79226acfa
parent34d5651a17ef3be26ee66905d53b54e745cf1efc (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.
-rw-r--r--source/blender/blenkernel/intern/pointcache.c3
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;
}