mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
Tech ENABLE_RAYCAST_PICKING - Rendering for rectangle selection made only inside the rectangle, on systems supporting framebuffers
Various other refactorings & fixes (cherry picked from commit prusa3d/PrusaSlicer@39b1222b22)
This commit is contained in:
committed by
Noisyfox
parent
f0199159e7
commit
d2d77456ac
@@ -1305,7 +1305,8 @@ void GCodeViewer::_render_calibration_thumbnail_internal(ThumbnailData& thumbnai
|
||||
|
||||
#if 1
|
||||
Camera camera;
|
||||
camera.apply_viewport(0,0,thumbnail_data.width, thumbnail_data.height);
|
||||
camera.set_viewport(0, 0, thumbnail_data.width, thumbnail_data.height);
|
||||
camera.apply_viewport();
|
||||
camera.set_scene_box(plate_box);
|
||||
camera.set_type(Camera::EType::Ortho);
|
||||
camera.set_target(center);
|
||||
|
||||
Reference in New Issue
Block a user