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>2006-11-30 05:47:28 +0300
committerJoshua Leung <aligorith@gmail.com>2006-11-30 05:47:28 +0300
commit5656d68aa321a6ba7ff727f07e94fa1af0f0ac0e (patch)
treebcf94a4427ca14322a4342f06a2ea480a1e4845e /source/blender/makesdna/DNA_action_types.h
parent3731be91be7fa5a2fed041e00e4fae781664c5c5 (diff)
Removed the other ugly global used in action editor. Now the
ACTWIDTH is a macro that tries to get actwidth from the active SpaceAction (G.saction->actwidth). This should solve any potential problems with having two action editors open editing shapekey actions. Also, I've fixed a compiler warning caused by erwin's constraint commit. Wrong ui call for button.
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r--source/blender/makesdna/DNA_action_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index f64da9f3c48..30d1c5c7ab6 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -116,7 +116,7 @@ typedef struct SpaceAction {
View2D v2d;
bAction *action;
int flag;
- short pin, actnr, lock, pad;
+ short pin, actnr, lock, actwidth;
float timeslide;
} SpaceAction;