ENH: rotate: refine the behavior of assemble rotation
use the logic of rotate_local_with_target Change-Id: I181372b6784c5d025bc3748377f6130f15a80d85
This commit is contained in:
parent
ffb1f706d8
commit
0898817053
1 changed files with 2 additions and 2 deletions
|
@ -3333,8 +3333,8 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
|
|||
else
|
||||
rotate_target = volumes_bounding_box().center();
|
||||
//BBS do not limit rotate in assemble view
|
||||
//camera.rotate_local_with_target(Vec3d(rot.y(), rot.x(), 0.), rotate_target);
|
||||
camera.rotate_on_sphere_with_target(rot.x(), rot.y(), true, rotate_target);
|
||||
camera.rotate_local_with_target(Vec3d(rot.y(), rot.x(), 0.), rotate_target);
|
||||
//camera.rotate_on_sphere_with_target(rot.x(), rot.y(), false, rotate_target);
|
||||
}
|
||||
else {
|
||||
#ifdef SUPPORT_FEEE_CAMERA
|
||||
|
|
Loading…
Reference in a new issue