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 <ideasman42@gmail.com>2021-02-14 03:35:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-14 03:44:37 +0300
commitfa093ef2ffee1c2cf4464711504c1ee030581959 (patch)
tree76fb0f3e3b2c8594cad265e4f20c2b7bfc051126 /source/blender/editors/mesh
parentc2b73dfe916d4ba9377ec7e756d75ff28bb61536 (diff)
Cleanup: correct/update comments
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index de37ddec885..231e6fbc2d9 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -3101,7 +3101,8 @@ static bool merge_firstlast(BMEditMesh *em,
* so do extra check for data here
*/
- /* do sanity check in mergemenu in edit.c ?*/
+ /* While #merge_type_itemf does a sanity check, this operation runs on all edit-mode objects.
+ * Some of them may not have the expected selection state. */
if (use_first == false) {
if (!em->bm->selected.last || ((BMEditSelection *)em->bm->selected.last)->htype != BM_VERT) {
return false;