mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06: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:
parent
f0199159e7
commit
d2d77456ac
12 changed files with 289 additions and 105 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue