From f31a9f802b38aeebcb141876aa4645afc775d26c Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Mon, 9 Sep 2024 16:43:08 +0200 Subject: [PATCH] Fix loading 3d mouse params from config (#6703) Since this seems a trivial enough change, I haven't done any local building/testing. Let me know if you need anything like that from me anyways. --- src/slic3r/GUI/Mouse3DController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Mouse3DController.cpp b/src/slic3r/GUI/Mouse3DController.cpp index c5e0881ec8..9ee6342ae4 100644 --- a/src/slic3r/GUI/Mouse3DController.cpp +++ b/src/slic3r/GUI/Mouse3DController.cpp @@ -406,8 +406,8 @@ void Mouse3DController::load_config(const AppConfig &appconfig) params.zoom.scale = Params::DefaultZoomScale * std::clamp(zoom_speed, 0.1, 10.0); params.swap_yz = swap_yz; params.invert_x = invert_x; - params.invert_y = invert_x; - params.invert_z = invert_x; + params.invert_y = invert_y; + params.invert_z = invert_z; params.invert_yaw = invert_yaw; params.invert_pitch = invert_pitch; params.invert_roll = invert_roll;