diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-25 16:14:13 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-25 16:14:13 +0300 |
commit | e057d7b9eb3f7641008e2cd77be9691d84433e5d (patch) | |
tree | 0360a3e70f644f973736885a2a9282b648cfe104 /source | |
parent | 6743308e5980dc86d1eca0ebefe2d23720e5a06d (diff) |
No need to tag depsgraph id when dropping objects from the outliner
As done by c42fc19a8a1c71 - 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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_add.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 786784a200f..5c96c13ebed 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -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); |