mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Calculation of camera projection matrix
(cherry picked from commit prusa3d/PrusaSlicer@a0630420d9)
This commit is contained in:
committed by
Noisyfox
parent
1e4f16bd39
commit
59b7c52862
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user