Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-03-25 14:09:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-03-25 14:09:59 +0300
commit72199882587b20b7b72b5205cb84372fdc8da12c (patch)
treefd5c06c82404975dc86144d0ecd00115b4062da5 /source/blender/editors/space_view3d
parenta0a7d823e03fd99ff429b1845c7d6985f10f5c45 (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/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c6
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);
}