No need to tag depsgraph id when dropping objects from the outliner
As done by c42fc19a8a
- this was needed originally because notifiers were
not working so I had to force tagging.
And for the records, I should have used DEG_TAG_BASE_FLAGS_UPDATE instead of 0.
This commit is contained in:
parent
6743308e59
commit
e057d7b9eb
|
@ -2483,9 +2483,6 @@ static int add_named_exec(bContext *C, wmOperator *op)
|
|||
/* TODO(sergey): Only update relations for the current scene. */
|
||||
DEG_relations_tag_update(bmain);
|
||||
|
||||
/* TODO(sergey): Use proper flag for tagging here. */
|
||||
DEG_id_tag_update(&scene->id, 0);
|
||||
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_OB_SELECT, scene);
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_OB_ACTIVE, scene);
|
||||
|
||||
|
|
Loading…
Reference in New Issue