From 97871e16ff45393e964d4882b99a45e18cdc22ab Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Fri, 4 Sep 2020 15:36:02 +0200 Subject: GPencil: New option to set steps in Interpolate Sequence Sometimes interpolate all frames is not convenient and it's better, for example, interpolate in twos. The new parameter allows to define the number of frame for each step, by default is set to 1 as before. {F8812621} This is a request of animators to improve interpolate tools. Reviewed By: mendio Maniphest Tasks: T80190 Differential Revision: https://developer.blender.org/D8723 239b0b --- source/blender/makesdna/DNA_scene_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna/DNA_scene_types.h') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 93e690d0aba..219a7afa6c2 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1137,6 +1137,9 @@ typedef struct GP_Interpolate_Settings { float back; /** BEZT_IPO_ELASTIC. */ float amplitude, period; + /* Step between sequence interpolated frames. */ + int step; + char _pad[4]; /** Custom interpolation curve (for use with GP_IPO_CURVEMAP). */ struct CurveMapping *custom_ipo; -- cgit v1.2.3