diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-01 14:18:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-01 14:18:19 +0300 |
commit | 3b706723acce81c6e17aa61288cfd2cee8a2d02e (patch) | |
tree | 48487be4e20a39b2a14683ebd02a2a8f43d1afb8 /source/blender/blenkernel | |
parent | a96e97a83ff5b8ea94e9d768f53ae02c6d51d64f (diff) |
Depsgraph: Remove clear of legacy unused flag
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/armature_update.c | 6 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/armature_update.c b/source/blender/blenkernel/intern/armature_update.c index 155967c7bd2..1b8bf3feb10 100644 --- a/source/blender/blenkernel/intern/armature_update.c +++ b/source/blender/blenkernel/intern/armature_update.c @@ -700,8 +700,6 @@ void BKE_pose_eval_flush(const struct EvaluationContext *UNUSED(eval_ctx), /* 6. release the IK tree */ BIK_release_tree(scene, ob, ctime); - - ob->recalc &= ~OB_RECALC_ALL; } void BKE_pose_eval_proxy_copy(const struct EvaluationContext *UNUSED(eval_ctx), Object *ob) @@ -712,8 +710,4 @@ void BKE_pose_eval_proxy_copy(const struct EvaluationContext *UNUSED(eval_ctx), printf("Proxy copy error, lib Object: %s proxy Object: %s\n", ob->id.name + 2, ob->proxy_from->id.name + 2); } - /* Rest of operations are NO-OP in depsgraph, so can clear - * flag now. - */ - ob->recalc &= ~OB_RECALC_ALL; } diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index f5f521e119d..71d8c1981af 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -299,10 +299,6 @@ bool BKE_object_eval_proxy_copy(const EvaluationContext *UNUSED(eval_ctx), void BKE_object_eval_uber_transform(const EvaluationContext *eval_ctx, Object *object) { BKE_object_eval_proxy_copy(eval_ctx, object); - object->recalc &= ~(OB_RECALC_OB | OB_RECALC_TIME); - if (object->data == NULL) { - object->recalc &= ~OB_RECALC_DATA; - } } void BKE_object_eval_uber_data(const EvaluationContext *eval_ctx, @@ -381,8 +377,6 @@ void BKE_object_eval_uber_data(const EvaluationContext *eval_ctx, #endif } } - - ob->recalc &= ~(OB_RECALC_DATA | OB_RECALC_TIME); } void BKE_object_eval_cloth(const EvaluationContext *UNUSED(eval_ctx), |