mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06: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:
parent
53c416b819
commit
388b483774
28 changed files with 557 additions and 336 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue