[Bf-blender-cvs] [7219988] master: Revert "Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis."
Bastien Montagne
noreply at git.blender.org
Fri Mar 25 12:13:12 CET 2016
Commit: 72199882587b20b7b72b5205cb84372fdc8da12c
Author: Bastien Montagne
Date: Fri Mar 25 12:09:59 2016 +0100
Branches: master
https://developer.blender.org/rB72199882587b20b7b72b5205cb84372fdc8da12c
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.
===================================================================
M source/blender/editors/space_view3d/view3d_edit.c
===================================================================
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 718696b..7cd2040 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);
}
More information about the Bf-blender-cvs
mailing list