diff options
Diffstat (limited to 'source/blender/editors/space_view3d')
-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); } |