From 3e9405e26dfb02f1aa05c530cce3ca6f9d1c84c7 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Tue, 23 Oct 2018 16:44:31 +0200 Subject: GP: Add new frame scale parameter to Time modifier This new parameter allows to increase or decrease the animation speed to break animation patterns when reuse data blocks. --- source/blender/makesdna/DNA_gpencil_modifier_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h') diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index fd1a4d2a2b7..5d743350827 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -145,6 +145,8 @@ typedef struct TimeGpencilModifierData { char layername[64]; /* layer name */ int flag; /* flags */ int offset; + float frame_scale; /* animation scale */ + char pad[4]; } TimeGpencilModifierData; typedef enum eTimeGpencil_Flag { -- cgit v1.2.3