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>2007-07-06 13:59:18 +0400
committerJoshua Leung <aligorith@gmail.com>2007-07-06 13:59:18 +0400
commit9116a623360fb7e5b24a65f978153a0354f2e5db (patch)
tree5e4c8191b2f2da849c09112d82045519e4be38dc /source/blender/src/header_action.c
parentfb622c7c3c50fa09c30774ba13bc8dda1a5d5041 (diff)
== 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.
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r--source/blender/src/header_action.c12
1 files changed, 5 insertions, 7 deletions
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);