mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-10 19:47:35 +00:00
Feat: 1. Vertical and horizontal mode for painting 2. Optimize Camera behavior (#2424)
* fix camera and update locale * Paint horizontally or vertically
This commit is contained in:
@@ -2862,11 +2862,7 @@ void Plater::priv::apply_free_camera_correction(bool apply/* = true*/)
|
||||
camera.set_type(Camera::EType::Perspective);
|
||||
else
|
||||
camera.set_type(Camera::EType::Ortho);
|
||||
if (apply
|
||||
#ifdef SUPPORT_FREE_CAMERA
|
||||
&& wxGetApp().app_config->get("use_free_camera") != "1"
|
||||
#endif
|
||||
)
|
||||
if (apply && wxGetApp().app_config->get_bool("use_free_camera"))
|
||||
camera.recover_from_free_camera();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user