diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-25 14:09:59 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-25 14:09:59 +0300 |
commit | 72199882587b20b7b72b5205cb84372fdc8da12c (patch) | |
tree | fd5c06c82404975dc86144d0ecd00115b4062da5 /source/blender | |
parent | a0a7d823e03fd99ff429b1845c7d6985f10f5c45 (diff) |
Revert "Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis."
This reverts commit fe0ca82b232dcab29030c4a20b8bd1b033d1d346.
This is a design issue, needs more thinking, for now just revert back to old behavior.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 718696b1adc..7cd20401a53 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -4005,8 +4005,8 @@ static int vieworbit_exec(bContext *C, wmOperator *op) angle = -angle; } - /* View Y-axis */ - axis_angle_to_quat(quat_mul, rv3d->viewinv[1], angle); + /* z-axis */ + axis_angle_to_quat_single(quat_mul, 'Z', angle); } else { @@ -4014,7 +4014,7 @@ static int vieworbit_exec(bContext *C, wmOperator *op) angle = -angle; } - /* View X-axis */ + /* horizontal axis */ axis_angle_to_quat(quat_mul, rv3d->viewinv[0], angle); } |