Fix: Free camera panning/rotating fixed #880

Closed
opened 2026-04-05 16:33:43 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @valerii-bokhan on 2/4/2026

Description

Fixes #10266

See the original code from the Prusa Slicer - 4c16ce442f

#if ENABLE_AUTO_CONSTRAINED_CAMERA
    if (wxGetApp().app_config->get("use_free_camera") != "1")
        m_camera.recover_from_free_camera();
#endif // ENABLE_AUTO_CONSTRAINED_CAMERA

So, the recover_from_free_camera function should NOT be called when free camera is enabled. It's a typo and hard to say where it came from. Probably from BBS.

Recordings

I am sorry, I am not good at using the free camera, but you can see that the original issue is gone - you can continue rotating from the previous position.

free_camera_bug

*Originally created by @valerii-bokhan on 2/4/2026* # Description Fixes #10266 See the original code from the Prusa Slicer - https://github.com/prusa3d/PrusaSlicer/commit/4c16ce442ff312805390dad6a976267851b9f5da ``` #if ENABLE_AUTO_CONSTRAINED_CAMERA if (wxGetApp().app_config->get("use_free_camera") != "1") m_camera.recover_from_free_camera(); #endif // ENABLE_AUTO_CONSTRAINED_CAMERA ``` So, the `recover_from_free_camera` function should NOT be called when free camera is enabled. It's a typo and hard to say where it came from. Probably from BBS. # Recordings I am sorry, I am not good at using the free camera, but you can see that the original issue is gone - you can continue rotating from the previous position. ![free_camera_bug](https://github.com/user-attachments/assets/cfdacc14-bea4-4045-a6d5-19b558112c17)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#880