diff options
author | Joshua Leung <aligorith@gmail.com> | 2006-11-30 05:47:28 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2006-11-30 05:47:28 +0300 |
commit | 5656d68aa321a6ba7ff727f07e94fa1af0f0ac0e (patch) | |
tree | bcf94a4427ca14322a4342f06a2ea480a1e4845e /source/blender/include/BIF_editaction.h | |
parent | 3731be91be7fa5a2fed041e00e4fae781664c5c5 (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/include/BIF_editaction.h')
-rw-r--r-- | source/blender/include/BIF_editaction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BIF_editaction.h b/source/blender/include/BIF_editaction.h index 172e4b9726f..e6cd5765360 100644 --- a/source/blender/include/BIF_editaction.h +++ b/source/blender/include/BIF_editaction.h @@ -48,6 +48,7 @@ #define CHANNELSKIP 2 #define NAMEWIDTH 128 #define SLIDERWIDTH 125 +#define ACTWIDTH (G.saction->actwidth) #define CHANNEL_FILTER_LOC 0x00000001 /* Show location keys */ #define CHANNEL_FILTER_ROT 0x00000002 /* Show rotation keys */ |