diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-09 06:10:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-09 06:10:30 +0300 |
commit | 5cdfceaa1a7efb71d528a04a01cb74181f1aa8e4 (patch) | |
tree | cdb4a5a88a9ce3a0241b76dabe2e5b7edbe7d5b7 /source/blender/modifiers | |
parent | 9b11a7776f2ab8ac42e835a17ed7566fd80a4b8c (diff) |
Cleanup: use common 'MOD_WELD_MODE_' prefix
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_weld.c b/source/blender/modifiers/intern/MOD_weld.c index a50323a24ee..e34dcf48c19 100644 --- a/source/blender/modifiers/intern/MOD_weld.c +++ b/source/blender/modifiers/intern/MOD_weld.c @@ -1567,7 +1567,7 @@ static bool bvhtree_weld_overlap_cb(void *userdata, int index_a, int index_b, in } #endif -/** Use for #MOD_WELD_CONNECTED_MODE calculation. */ +/** Use for #MOD_WELD_MODE_CONNECTED calculation. */ struct WeldVertexCluster { float co[3]; uint merged_verts; @@ -1612,7 +1612,7 @@ static Mesh *weldModifier_doWeld(WeldModifierData *wmd, const ModifierEvalContex * This indicates which vert it is or is going to be merged. */ uint *vert_dest_map = MEM_malloc_arrayN(totvert, sizeof(*vert_dest_map), __func__); uint vert_kill_len = 0; - if (wmd->mode == MOD_WELD_ALL_MODE) + if (wmd->mode == MOD_WELD_MODE_ALL) #ifdef USE_BVHTREEKDOP { /* Get overlap map. */ @@ -1709,7 +1709,7 @@ static Mesh *weldModifier_doWeld(WeldModifierData *wmd, const ModifierEvalContex } #endif else { - BLI_assert(wmd->mode == MOD_WELD_CONNECTED_MODE); + BLI_assert(wmd->mode == MOD_WELD_MODE_CONNECTED); MEdge *medge, *me; |