From 9116a623360fb7e5b24a65f978153a0354f2e5db Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 6 Jul 2007 09:59:18 +0000 Subject: == Action Editor Bugfixes == Resolved Issues: * My drawing cleanup commit the other day broke shapekey keyframe selection - was using wrong filter for Action Editor data * Removed the old hack to limit vertical scrolling so that shapekeys were visible. It wasn't really needed anymore, and was causing problems with HomeKey. Unresolved Issues: * Vertical placement of sliders is slightly off * In a test file I obtained, shapekey sliders don't work immediately after the file is loaded. --- source/blender/src/header_action.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'source/blender/src/header_action.c') diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index 340a8008883..d39bd004eac 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -171,17 +171,15 @@ void do_action_buttons(unsigned short event) G.v2d->cur.xmax= -5; G.v2d->cur.xmax= 100; } - - G.v2d->cur.ymin= -(count_action_levels(G.saction->action)*(CHANNELHEIGHT+CHANNELSKIP)); - G.v2d->cur.ymax= 0; } else { /* shapekeys and/or no action */ - G.v2d->cur.xmax= -5; - G.v2d->cur.xmax= 100; - G.v2d->cur.ymax= 1000; - G.v2d->cur.ymin= 0; + G.v2d->cur.xmin= -5.0; + G.v2d->cur.xmax= 65.0; } + G.v2d->cur.ymin= -75.0; + G.v2d->cur.ymax= 5.0; + G.v2d->tot= G.v2d->cur; test_view2d(G.v2d, curarea->winx, curarea->winy); view2d_do_locks(curarea, V2D_LOCK_COPY); -- cgit v1.2.3