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:
authorAntonioya <blendergit@gmail.com>2018-10-24 11:31:48 +0300
committerAntonioya <blendergit@gmail.com>2018-10-24 11:32:03 +0300
commit5af716620ad362dbb119dd1682b19ed230ba7201 (patch)
treea0235e0a247eb54fdec02e9d33ebdf21cd00e24a /source/blender/makesdna/DNA_gpencil_modifier_types.h
parent058936861591d16703f67e5c4b1dd8cb593630ed (diff)
GP: Add new modes to Time Offset modifier
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_gpencil_modifier_types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h
index 5d743350827..9d543ddbc78 100644
--- a/source/blender/makesdna/DNA_gpencil_modifier_types.h
+++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h
@@ -146,7 +146,7 @@ typedef struct TimeGpencilModifierData {
int flag; /* flags */
int offset;
float frame_scale; /* animation scale */
- char pad[4];
+ int mode;
} TimeGpencilModifierData;
typedef enum eTimeGpencil_Flag {
@@ -154,6 +154,13 @@ typedef enum eTimeGpencil_Flag {
GP_TIME_KEEP_LOOP = (1 << 1),
} eTimeGpencil_Flag;
+typedef enum eTimeGpencil_Mode {
+ GP_TIME_MODE_NORMAL = 0,
+ GP_TIME_MODE_REVERSE = 1,
+ GP_TIME_MODE_FIX = 2
+} eTimeGpencil_Mode;
+
+
typedef enum eModifyColorGpencil_Flag {
GP_MODIFY_COLOR_BOTH = 0,
GP_MODIFY_COLOR_STROKE = 1,