From f772a4b8fa87d537de6b579d5b4a72d1874818c3 Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Tue, 26 May 2020 16:41:19 -0600 Subject: Fix: A few missing outliner selection sync tags Add selection syncing for object add named (e.g. drag and drop from outliner to 3D view), outliner right click (a sync when the context menu is cancelled), and for object selection from Python. --- source/blender/editors/object/object_add.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/object') diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 6e342b7ed47..916c26e7667 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -2859,6 +2859,7 @@ static int add_named_exec(bContext *C, wmOperator *op) DEG_id_tag_update(&scene->id, ID_RECALC_SELECT); WM_event_add_notifier(C, NC_SCENE | ND_OB_SELECT, scene); WM_event_add_notifier(C, NC_SCENE | ND_OB_ACTIVE, scene); + ED_outliner_select_sync_from_object_tag(C); return OPERATOR_FINISHED; } -- cgit v1.2.3