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:
authormano-wii <germano.costa@ig.com.br>2019-12-12 04:31:20 +0300
committermano-wii <germano.costa@ig.com.br>2019-12-12 04:31:20 +0300
commitf050fa325375ecf8931750baca7846cd830c7370 (patch)
tree3b652e868960eecd41394faf8db91fe590e10660 /source/blender/makesdna/DNA_modifier_types.h
parentdc3a165ae0f22a4ff36bf9c7cc7fc189c351b35a (diff)
Modifier: New Weld Modifier
Part of T70240 This is the initial implementation of Weld Modifier. New features will be added later. ToDo: - Seams: restrict welding to vertices along boundary edges. - Edge Collapse: collapse edges below the length threshold. - New icon. - Some customdata are not being correctly interpolated. Differential Revision: https://developer.blender.org/D6383
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index a8db46238d8..0ed9a7f3e5e 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -86,6 +86,7 @@ typedef enum ModifierType {
eModifierType_MeshSequenceCache = 52,
eModifierType_SurfaceDeform = 53,
eModifierType_WeightedNormal = 54,
+ eModifierType_Weld = 55,
NUM_MODIFIER_TYPES,
} ModifierType;
@@ -1810,6 +1811,16 @@ enum {
MOD_WIREFRAME_CREASE = (1 << 5),
};
+typedef struct WeldModifierData {
+ ModifierData modifier;
+
+ /* the limit below which to merge vertices in adjacent duplicates */
+ float merge_dist;
+ unsigned int max_interactions;
+ /** Name of vertex group to use to mask, MAX_VGROUP_NAME. */
+ char defgrp_name[64];
+} WeldModifierData;
+
typedef struct DataTransferModifierData {
ModifierData modifier;