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>2009-06-11 07:19:08 +0400
committerJoshua Leung <aligorith@gmail.com>2009-06-11 07:19:08 +0400
commitf0f9034966be8692250686aee74048294960aad3 (patch)
tree52ff0d77a378dee974752f258067b4842ddee2ff /source/blender/editors/space_nla/nla_edit.c
parent4a29d0c1a36359c3e08a90beb80cd40857305c80 (diff)
NLA SoC: Operator for adding new NLA-Tracks
New tracks can be added in the following ways (with the mouse hovering over the channels-list): * Shift-A - this will add a new track at the top of the stack (i.e. above all the existing NLA-tracks but below the Active Action) for every AnimData block where there was a selected NLA-Track * Ctrl-Shift-A - this will add a new track above every selected one
Diffstat (limited to 'source/blender/editors/space_nla/nla_edit.c')
-rw-r--r--source/blender/editors/space_nla/nla_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c
index 93ac726c17e..e8af67aebd1 100644
--- a/source/blender/editors/space_nla/nla_edit.c
+++ b/source/blender/editors/space_nla/nla_edit.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <stdio.h>
+#include <math.h>
#include "DNA_anim_types.h"
#include "DNA_action_types.h"