diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-05-02 05:06:38 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-05-02 06:13:19 +0300 |
commit | c06a40006d6ce6a12eecb63dfe1b8d502efcc4af (patch) | |
tree | e890a9f4a87d66e8a4b1f2fac25a66c2b5f57bdd /source/blender/editors/mesh | |
parent | bba11c68c40480f525a23784ebca81d98e2ec6d2 (diff) |
Outliner: Fix selection sync for various operators
Add missing outliner selection sync tagging for various non-outliner
operators.
* Curve separate
* Grease Pencil separate
* Mesh separate
* Make instances real
* 3D view paste
* Sequencer paste
* Armature delete, dissolve, separate, duplicate, subdivide, extrude,
click extrude, primitive add
* Pose Group select, delete
Resolves T71404
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 37b0cd447b6..24c5cbb8573 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -69,6 +69,7 @@ #include "ED_mesh.h" #include "ED_object.h" +#include "ED_outliner.h" #include "ED_screen.h" #include "ED_transform.h" #include "ED_uvedit.h" @@ -4404,6 +4405,7 @@ static int edbm_separate_exec(bContext *C, wmOperator *op) /* delay depsgraph recalc until all objects are duplicated */ DEG_relations_tag_update(bmain); WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, NULL); + ED_outliner_select_sync_from_object_tag(C); return OPERATOR_FINISHED; } |