diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-11-28 03:17:23 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-11-28 03:17:59 +0300 |
commit | 37b882982af6dfd8a235e5816431e4fb76e1ba9a (patch) | |
tree | 4beb0cce47d95b6f7aa7580463b60d4122a0a14f /source | |
parent | 1b870bce85db3d2940f0b40b6117b3009c56c220 (diff) |
Local View: Objects to be selected once back to regular view
They were already selected, but we needed to bump depsgraph.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index 7b3fe07769e..059274a14fd 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -1384,6 +1384,7 @@ static int localview_exec(bContext *C, wmOperator *op) /* Unselected objects become selected when exiting. */ if (v3d->localvd == NULL) { + DEG_id_tag_update(&scene->id, DEG_TAG_SELECT_UPDATE); WM_event_add_notifier(C, NC_SCENE | ND_OB_SELECT, scene); } else { |