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-18 20:12:06 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-02-18 20:14:44 +0300
commit20605c4b515e3e93a1557839669e8c6fc02dcbc9 (patch)
treebdc91cd4533f9cf7881dc723efc216e56d1b61f7 /source/blender/makesdna/DNA_modifier_types.h
parent6cd4363c0c3ee73a0656e84e91ebf9e9c936d6bd (diff)
Modifiers: UVWarp modifier add invert vgroup option
Adds the invert vgroup option to the UVWarp modifier. Adds a flag and char padding to the DNA. Differential Revision: https://developer.blender.org/D6841
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 2abe1b38a8d..2d625e7006b 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -1743,7 +1743,7 @@ typedef struct UVWarpModifierData {
ModifierData modifier;
char axis_u, axis_v;
- char _pad[2];
+ short flag;
/** Used for rotate/scale. */
float center[2];
@@ -1766,6 +1766,11 @@ typedef struct UVWarpModifierData {
char uvlayer_name[64];
} UVWarpModifierData;
+/* UVWarp modifier flags */
+enum {
+ MOD_UVWARP_INVERT_VGROUP = 1 << 0,
+};
+
/* cache modifier */
typedef struct MeshCacheModifierData {
ModifierData modifier;