diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-24 12:02:52 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-24 12:03:09 +0300 |
commit | e1a66201da2595b8d5afd7072a1f3730ca34d04a (patch) | |
tree | 10f4a1731e1ec56d0f0be778457c9cda6c738a5f /source/blender/makesdna/DNA_gpencil_modifier_types.h | |
parent | 341306995be6839fe091d23b511d89ad8deb616a (diff) |
GP: Add layer pass index to time modifier
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 9d543ddbc78..17ec1073c1d 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -143,15 +143,18 @@ typedef enum eThickGpencil_Flag { typedef struct TimeGpencilModifierData { GpencilModifierData modifier; char layername[64]; /* layer name */ + int pass_index; /* custom index for passes */ int flag; /* flags */ int offset; float frame_scale; /* animation scale */ int mode; + char pad_[4]; } TimeGpencilModifierData; typedef enum eTimeGpencil_Flag { GP_TIME_INVERT_LAYER = (1 << 0), GP_TIME_KEEP_LOOP = (1 << 1), + GP_TIME_INVERT_PASS = (1 << 2), } eTimeGpencil_Flag; typedef enum eTimeGpencil_Mode { |