diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-03-25 14:09:59 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:08 +0300 |
commit | 70d417cbe86f57e0f42cebe998d0883da33111a4 (patch) | |
tree | 9403b3ab7f4cab507b88ed47ec6dee0c5d8aeb8f /source/blender | |
parent | 1af7bf3a208e86427c923674117e26fc59e25b63 (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); } |