mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Calculation of camera projection matrix
(cherry picked from commit prusa3d/PrusaSlicer@a0630420d9)
This commit is contained in:
parent
1e4f16bd39
commit
59b7c52862
4 changed files with 27 additions and 40 deletions
|
@ -1308,7 +1308,6 @@ void GCodeViewer::_render_calibration_thumbnail_internal(ThumbnailData& thumbnai
|
|||
camera.set_type(Camera::EType::Ortho);
|
||||
camera.set_target(center);
|
||||
camera.select_view("top");
|
||||
camera.apply_view_matrix();
|
||||
camera.zoom_to_box(plate_box, 1.0f);
|
||||
camera.apply_projection(plate_box);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue