From 185a7799a051acdab8ad9a20f7213c3ab8fd6ea9 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 15 Apr 2007 09:48:53 +0000 Subject: == NLA Editor - Auto-Blending for ActionStrips == This is just a little time-saver for NLA-workflow. With the 'Auto-Blending' option turned on in the Transform Properties (NKEY) for an ActionStrip, that strip's blendin/blendout values are determined based on the number of frames that the previous and/or next actionstrip(s) on overlap over the start and end of it. It is turned on by default for new actionstrips added using the Shift-N hotkey. Caveats: * Only the actionstrips immediately on either side of the strip being evaluated, will have any effect * A strip that is longer-than, and extends over the sides of the strip being evaluated, will have no effect Additional Notes: * Blendin/Blendout have been renamed In/Out in UI for brevity * Button layout in NLA Transform Properties has changed slightly again, but hopefully that shouldn't be too much of an issue. --- source/blender/makesdna/DNA_nla_types.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source/blender/makesdna/DNA_nla_types.h') diff --git a/source/blender/makesdna/DNA_nla_types.h b/source/blender/makesdna/DNA_nla_types.h index c1fce2772cd..914e6337474 100644 --- a/source/blender/makesdna/DNA_nla_types.h +++ b/source/blender/makesdna/DNA_nla_types.h @@ -45,10 +45,13 @@ typedef struct bActionModifier { short type, flag; char channel[32]; - /* path deform modifier */ - short pad, no_rot_axis; - struct Object *ob; + /* noise modifier */ + float noisesize, turbul; + short channels; + /* path deform modifier */ + short no_rot_axis; + struct Object *ob; } bActionModifier; #define ACTSTRIP_MOD_DEFORM 0 @@ -94,6 +97,7 @@ typedef struct bActionStrip { #define ACTSTRIP_CYCLIC_USEX 0x100 #define ACTSTRIP_CYCLIC_USEY 0x200 #define ACTSTRIP_CYCLIC_USEZ 0x400 +#define ACTSTRIP_AUTO_BLENDS 0x800 #endif -- cgit v1.2.3