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:
SoftFever
2023-10-15 16:43:52 +08:00
committed by GitHub
parent 53c416b819
commit 388b483774
28 changed files with 557 additions and 336 deletions

View File

@@ -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();
}