diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-08 05:48:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-08 05:48:31 +0300 |
commit | 7b663976645973f15b243c101497626c590c2cde (patch) | |
tree | 6fb5ff51cc47a3c256fa84ea1a07acd71217f2af /source/blender/editors/object/object_add.cc | |
parent | 901a03725ed58166e5b2401dfadd7c1cb7e490a2 (diff) |
Cleanup: spelling in comments, use C++ comments for disabled code
Diffstat (limited to 'source/blender/editors/object/object_add.cc')
-rw-r--r-- | source/blender/editors/object/object_add.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.cc b/source/blender/editors/object/object_add.cc index 7befad3b8d7..b8ffaf87118 100644 --- a/source/blender/editors/object/object_add.cc +++ b/source/blender/editors/object/object_add.cc @@ -3385,7 +3385,8 @@ Base *ED_object_add_duplicate( const int remap_flag = BKE_object_is_in_editmode(ob) ? ID_REMAP_FORCE_OBDATA_IN_EDITMODE : 0; BKE_libblock_relink_to_newid(bmain, &ob->id, remap_flag); - /* DAG_relations_tag_update(bmain); */ /* caller must do */ + /* Correct but the caller must do this. */ + // DAG_relations_tag_update(bmain); if (ob->data != nullptr) { DEG_id_tag_update_ex(bmain, (ID *)ob->data, ID_RECALC_EDITORS); |