diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-18 10:22:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-18 10:23:25 +0300 |
commit | 35c02c08b81245ec3b6883f7a760d2cee7c023ff (patch) | |
tree | df2a876d6d6947b890623d7504d3b4c90ccea45f /source/blender/draw | |
parent | 04e2a5cef419a9fcfac0bdd92496815ae7bb2af3 (diff) |
3D View: support outline overlay option
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/modes/object_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c index 146e990500c..423b07cdb97 100644 --- a/source/blender/draw/modes/object_mode.c +++ b/source/blender/draw/modes/object_mode.c @@ -2105,7 +2105,7 @@ static void OBJECT_cache_populate(void *vedata, Object *ob) return; } - bool do_outlines = ((ob->base_flag & BASE_SELECTED) != 0); + bool do_outlines = (draw_ctx->v3d->flag & V3D_SELECT_OUTLINE) && ((ob->base_flag & BASE_SELECTED) != 0); bool show_relations = ((draw_ctx->v3d->flag & V3D_HIDE_HELPLINES) == 0); if (do_outlines) { |