Fix T66922: Merge by distance tooltip text wrong
authorPhilipp Oeser <info@graphics-engineer.com>
Mon, 12 Aug 2019 11:34:46 +0000 (13:34 +0200)
committerPhilipp Oeser <info@graphics-engineer.com>
Mon, 12 Aug 2019 12:44:51 +0000 (14:44 +0200)
merge/dissolve distance is actually a maximum, not a minimum

Reviewers: campbellbarton

Maniphest Tasks: T66922

Differential Revision: https://developer.blender.org/D5462

source/blender/bmesh/intern/bmesh_opdefines.c
source/blender/editors/mesh/editmesh_tools.c

index e8b35afdcb143ba86151cd55df4f2295c334761b..b9f0bcc05f076f429726e101ee4426408393cfe4 100644 (file)
@@ -336,7 +336,7 @@ static BMOpDefine bmo_find_doubles_def = {
   /* slots_in */
   {{"verts", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}}, /* input vertices */
    {"keep_verts", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}}, /* list of verts to keep */
-   {"dist",         BMO_OP_SLOT_FLT}, /* minimum distance */
+   {"dist",         BMO_OP_SLOT_FLT}, /* maximum distance */
    {{'\0'}},
   },
   /* slots_out */
@@ -379,7 +379,7 @@ static BMOpDefine bmo_automerge_def = {
   "automerge",
   /* slots_in */
   {{"verts", BMO_OP_SLOT_ELEMENT_BUF, {BM_VERT}}, /* input verts */
-   {"dist",         BMO_OP_SLOT_FLT}, /* minimum distance */
+   {"dist",         BMO_OP_SLOT_FLT}, /* maximum distance */
    {{'\0'}},
   },
   {{{'\0'}}},  /* no output */
@@ -1173,7 +1173,7 @@ static BMOpDefine bmo_dissolve_limit_def = {
 static BMOpDefine bmo_dissolve_degenerate_def = {
   "dissolve_degenerate",
   /* slots_in */
-  {{"dist", BMO_OP_SLOT_FLT}, /* minimum distance to consider degenerate */
+  {{"dist", BMO_OP_SLOT_FLT}, /* maximum distance to consider degenerate */
    {"edges", BMO_OP_SLOT_ELEMENT_BUF, {BM_EDGE}},
    {{'\0'}},
   },
index cb147772b6a47f523c8282f023ca7e51f5df9553..f57e8141f274fb2323a0ec93928a092df8973610 100644 (file)
@@ -3190,7 +3190,7 @@ void MESH_OT_remove_doubles(wmOperatorType *ot)
                          1e-6f,
                          50.0f,
                          "Merge Distance",
-                         "Minimum distance between elements to merge",
+                         "Maximum distance between elements to merge",
                          1e-5f,
                          10.0f);
   RNA_def_boolean(ot->srna,
@@ -5791,7 +5791,7 @@ void MESH_OT_dissolve_degenerate(wmOperatorType *ot)
                          1e-6f,
                          50.0f,
                          "Merge Distance",
-                         "Minimum distance between elements to merge",
+                         "Maximum distance between elements to merge",
                          1e-5f,
                          10.0f);
 }