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>2017-10-24 16:25:41 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-24 17:04:11 +0300
commit1829084da1a47e6080d4b85c2eb94fd2c0b07c27 (patch)
treeb39bfdcad6d343bc01907f1587e0a34e409a42cc /source/blender/editors/transform
parent72b61763da593fb6a9822f3e37eff9dd2973bf66 (diff)
Depsgraph: Switch to explicit graph specification for tag flush
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_conversions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index b04767724ea..7a41272332f 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -5603,7 +5603,7 @@ static void set_trans_object_base_flags(TransInfo *t)
}
/* all recalc flags get flushed to all layers, so a layer flip later on works fine */
- DEG_scene_flush_update(G.main, t->scene);
+ DEG_graph_flush_update(G.main, t->scene->depsgraph_legacy);
/* and we store them temporal in base (only used for transform code) */
/* this because after doing updates, the object->recalc is cleared */
@@ -5683,7 +5683,7 @@ static int count_proportional_objects(TransInfo *t)
/* all recalc flags get flushed to all layers, so a layer flip later on works fine */
DEG_scene_relations_update(G.main, t->scene);
- DEG_scene_flush_update(G.main, t->scene);
+ DEG_graph_flush_update(G.main, t->scene->depsgraph_legacy);
/* and we store them temporal in base (only used for transform code) */
/* this because after doing updates, the object->recalc is cleared */