Fix T72449: Stale outliner selection after object duplicate
This commit is contained in:
@@ -2693,6 +2693,8 @@ static int duplicate_exec(bContext *C, wmOperator *op)
|
||||
|
||||
copy_object_set_idnew(C);
|
||||
|
||||
ED_outliner_select_sync_from_object_tag(C);
|
||||
|
||||
DEG_relations_tag_update(bmain);
|
||||
DEG_id_tag_update(&scene->id, ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user