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/mesh | |
parent | 901a03725ed58166e5b2401dfadd7c1cb7e490a2 (diff) |
Cleanup: spelling in comments, use C++ comments for disabled code
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 4 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_undo.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 2577218d6a9..6b3f50549ef 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -4349,7 +4349,7 @@ static Base *mesh_separate_tagged( Base *base_new = ED_object_add_duplicate(bmain, scene, view_layer, base_old, dupflag); /* normally would call directly after but in this case delay recalc */ - /* DAG_relations_tag_update(bmain); */ + // DAG_relations_tag_update(bmain); /* new in 2.5 */ BKE_object_material_array_assign(bmain, @@ -4423,7 +4423,7 @@ static Base *mesh_separate_arrays(Main *bmain, Base *base_new = ED_object_add_duplicate(bmain, scene, view_layer, base_old, dupflag); /* normally would call directly after but in this case delay recalc */ - /* DAG_relations_tag_update(bmain); */ + // DAG_relations_tag_update(bmain); /* new in 2.5 */ BKE_object_material_array_assign(bmain, diff --git a/source/blender/editors/mesh/editmesh_undo.c b/source/blender/editors/mesh/editmesh_undo.c index 3bebcdc9bae..9c7d712a739 100644 --- a/source/blender/editors/mesh/editmesh_undo.c +++ b/source/blender/editors/mesh/editmesh_undo.c @@ -591,7 +591,8 @@ static void *undomesh_from_editmesh(UndoMesh *um, BMEditMesh *em, Key *key, Undo um->me.key = NULL; } - /* BM_mesh_validate(em->bm); */ /* for troubleshooting */ + /* Uncomment for troubleshooting. */ + // BM_mesh_validate(em->bm); BM_mesh_bm_to_me( NULL, |