mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-15 15:03:49 +00:00
Trigger auto perspective on 3D mouse rotation (#14768)
This commit is contained in:
@@ -353,6 +353,7 @@ bool Mouse3DController::State::apply(const Mouse3DController::Params ¶ms, Ca
|
||||
rot = Vec3d(rot.x(), -rot.z(), rot.y());
|
||||
rot = Vec3d(rot.x() * pitchmult, rot.y() * yawmult, rot.z() * rollmult);
|
||||
camera.rotate_local_around_target(Vec3d(rot.x(), - rot.z(), rot.y()));
|
||||
camera.auto_type(Camera::EType::Perspective);
|
||||
} else {
|
||||
assert(input_queue_item.is_buttons());
|
||||
switch (input_queue_item.type_or_buttons) {
|
||||
|
||||
Reference in New Issue
Block a user