Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-08 05:48:31 +0300
committerCampbell Barton <campbell@blender.org>2022-03-08 05:48:31 +0300
commit7b663976645973f15b243c101497626c590c2cde (patch)
tree6fb5ff51cc47a3c256fa84ea1a07acd71217f2af /source/blender/editors/object/object_add.cc
parent901a03725ed58166e5b2401dfadd7c1cb7e490a2 (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.cc3
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);