Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-04-15 13:48:53 +0400
committerJoshua Leung <aligorith@gmail.com>2007-04-15 13:48:53 +0400
commit185a7799a051acdab8ad9a20f7213c3ab8fd6ea9 (patch)
tree86be2eb591b3313602406a2136525489b84b28e9 /source/blender/makesdna/DNA_nla_types.h
parenta6113b005908778bebfead6356061b0df13a5ce4 (diff)
== 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.
Diffstat (limited to 'source/blender/makesdna/DNA_nla_types.h')
-rw-r--r--source/blender/makesdna/DNA_nla_types.h10
1 files changed, 7 insertions, 3 deletions
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