diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-02-22 22:40:57 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-02-22 22:41:23 +0300 |
commit | e9f738754d19a1c578a2d5139a79904873b58204 (patch) | |
tree | cb7992367717af5abbe420bdfad45d8bba6fbc45 /source/blender | |
parent | 0ca623362d5e955f051c6cc5cdd69925248e7f76 (diff) |
Cleanup: Remove redudant function call
BKE_main_id_clear_newpoints is already called from copy_object_set_idnew().
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/object/object_add.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index e9aaaccb3d2..febd8005e4a 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -2527,8 +2527,6 @@ static int duplicate_exec(bContext *C, wmOperator *op) copy_object_set_idnew(C); - BKE_main_id_clear_newpoins(bmain); - DEG_relations_tag_update(bmain); DEG_id_tag_update(&scene->id, ID_RECALC_COPY_ON_WRITE | ID_RECALC_SELECT); @@ -2607,8 +2605,6 @@ static int add_named_exec(bContext *C, wmOperator *op) copy_object_set_idnew(C); - BKE_main_id_clear_newpoins(bmain); - /* TODO(sergey): Only update relations for the current scene. */ DEG_relations_tag_update(bmain); |