diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-06 08:10:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-06 10:03:28 +0300 |
commit | 28dfc47cf0b068d0103986424f79eeea59f2039b (patch) | |
tree | 5be77cc019cb6deda3416e0dc2385b48eac1232a /source/blender/editors/transform/transform_conversions.c | |
parent | 1c600cc643306c12f2bc652b2ea921ecbb3cfadf (diff) |
Object Mode: Add to EvaluationContext & DRWContextState
Diffstat (limited to 'source/blender/editors/transform/transform_conversions.c')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 730ca70547b..6c55967fc8f 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -2482,9 +2482,10 @@ static void createTransEditVerts(TransInfo *t) int island_info_tot; int *island_vert_map = NULL; - DEG_evaluation_context_init_from_scene(&eval_ctx, - t->scene, t->view_layer, t->engine_type, - DAG_EVAL_VIEWPORT); + DEG_evaluation_context_init_from_scene( + &eval_ctx, + t->scene, t->view_layer, t->engine_type, t->obedit->mode, + DAG_EVAL_VIEWPORT); /* Even for translation this is needed because of island-orientation, see: T51651. */ const bool is_island_center = (t->around == V3D_AROUND_LOCAL_ORIGINS); |