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:
Diffstat (limited to 'source/blender/blenkernel/nla_private.h')
-rw-r--r--source/blender/blenkernel/nla_private.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/blenkernel/nla_private.h b/source/blender/blenkernel/nla_private.h
index 67728445f3a..0ab48b5ef2c 100644
--- a/source/blender/blenkernel/nla_private.h
+++ b/source/blender/blenkernel/nla_private.h
@@ -79,6 +79,21 @@ typedef struct NlaEvalChannel {
float value; /* value of this channel */
} NlaEvalChannel;
+/* Information about the currently edited strip and ones below it for keyframing. */
+typedef struct NlaKeyframingContext {
+ struct NlaKeyframingContext *next, *prev;
+
+ /* AnimData for which this context was built. */
+ struct AnimData *adt;
+
+ /* Data of the currently edited strip (copy, or fake strip for the main action). */
+ NlaStrip strip;
+ NlaEvalStrip *eval_strip;
+
+ /* Evaluated NLA stack below the current strip. */
+ ListBase nla_channels;
+} NlaKeyframingContext;
+
/* --------------- NLA Functions (not to be used as a proper API) ----------------------- */
/* convert from strip time <-> global time */