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:
authorCody Winchester <CodyWinch>2020-02-12 13:04:20 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-02-12 13:05:35 +0300
commitcd57c9e310e2482298ac61fc9424551bbe6eb61c (patch)
tree543a9f4e956dcf7b9833ff998f9667e9c5b63e1f /source/blender/makesdna
parent0e15850a7eedbdf236e977c663efaceff23572e1 (diff)
Modifiers: Weld Modifier add invert vgroup option
Adds the invert vgroup option to the weld modifier. Differential Revision: https://developer.blender.org/D6818
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 918b4a2a7ea..1b0b3d9e08e 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -1862,8 +1862,16 @@ typedef struct WeldModifierData {
unsigned int max_interactions;
/* Name of vertex group to use to mask, MAX_VGROUP_NAME. */
char defgrp_name[64];
+
+ short flag;
+ char _pad[6];
} WeldModifierData;
+/* WeldModifierData->flag */
+enum {
+ MOD_WELD_INVERT_VGROUP = (1 << 0),
+};
+
typedef struct DataTransferModifierData {
ModifierData modifier;