[Bf-blender-cvs] [2832b37e8e4] soc-2020-outliner: Outliner: Fix missing select sync on editmode toggle

Nathan Craddock noreply at git.blender.org
Sun Jul 26 01:18:05 CEST 2020


Commit: 2832b37e8e4d764d0f8bc1c848c72eacbf35a2aa
Author: Nathan Craddock
Date:   Sat Jul 25 16:13:05 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB2832b37e8e4d764d0f8bc1c848c72eacbf35a2aa

Outliner: Fix missing select sync on editmode toggle

===================================================================

M	source/blender/editors/space_outliner/outliner_select.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 15411f26f3d..41ddf5561e3 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -155,6 +155,7 @@ static void do_outliner_item_editmode_toggle(
     }
     if (ok) {
       ED_object_base_select(base, (ob->mode & OB_MODE_EDIT) ? BA_SELECT : BA_DESELECT);
+      ED_outliner_select_sync_from_object_tag(C);
       DEG_id_tag_update(&scene->id, ID_RECALC_SELECT);
       WM_event_add_notifier(C, NC_SCENE | ND_OB_SELECT, scene);
     }



More information about the Bf-blender-cvs mailing list