diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-04-02 07:52:44 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-04-02 07:52:44 +0400 |
commit | 7b98f6220b2ce1739331f87722e0f88a78ba1a92 (patch) | |
tree | 6205f5dafdd83b85910503422e096c9ab600cc4d /source/blender/editors/animation/keyframing.c | |
parent | 174696fd542e966bc218957cc9a73eea14aefa06 (diff) |
Bugfix #21853: Border zoom in the 2D-Views zooms out
* Fixed the way the operator was checking for what the user wanted when using the operator
* Added a few specific defines to a copy of the gesture border modal keymap (added one for zooming only) labelled 'In' and 'Out' which make this more useful than being hacked to use select and deselect
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 800b0248728..02b79770941 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -286,7 +286,9 @@ int insert_vert_fcurve (FCurve *fcu, float x, float y, short flag) BezTriple beztr; int a; - /* set all three points, for nicer start position */ + /* set all three points, for nicer start position + * NOTE: +/- 1 on vec.x for left and right handles is so that 'free' handles work ok... + */ memset(&beztr, 0, sizeof(BezTriple)); beztr.vec[0][0]= x-1.0f; beztr.vec[0][1]= y; |