diff options
author | Antonioya <blendergit@gmail.com> | 2018-11-03 19:11:38 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-11-03 19:11:38 +0300 |
commit | d2b4eaa13711b346df98e432bfd806be91dbac05 (patch) | |
tree | bb23b7c6006e41b06a9c7dedc80244090104891c /source/blender/makesdna/DNA_gpencil_modifier_types.h | |
parent | ec017861b6fe9ce15b5eec88536aa457a5c99984 (diff) |
GP: New Time Offset custom frame range parameters
These parameters allow to define a frame range for the animation loop and make possible to loop a section while the scene is playing.
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 191588a9d36..af680b8fb9d 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -153,6 +153,7 @@ typedef struct TimeGpencilModifierData { int offset; float frame_scale; /* animation scale */ int mode; + int sfra, efra; /* start and end frame for custom range */ char pad_[4]; } TimeGpencilModifierData; @@ -160,6 +161,7 @@ typedef enum eTimeGpencil_Flag { GP_TIME_INVERT_LAYER = (1 << 0), GP_TIME_KEEP_LOOP = (1 << 1), GP_TIME_INVERT_LAYERPASS = (1 << 2), + GP_TIME_CUSTOM_RANGE = (1 << 3), } eTimeGpencil_Flag; typedef enum eTimeGpencil_Mode { |