mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
FIX: thumbnail: fix the thumbnail wrongly clip issue
Change-Id: I0f2040b8263aa3ea5c82278eabc8e6d0845bfa73
This commit is contained in:
parent
387f8838f2
commit
0fc5c074cf
1 changed files with 9 additions and 8 deletions
|
@ -5561,7 +5561,7 @@ void GLCanvas3D::render_thumbnail_internal(ThumbnailData& thumbnail_data, const
|
|||
//camera.select_view("top");
|
||||
}
|
||||
else {
|
||||
camera.zoom_to_box(volumes_box);
|
||||
//camera.zoom_to_box(volumes_box);
|
||||
|
||||
//const Vec3d& target = camera.get_target();
|
||||
//double distance = camera.get_distance();
|
||||
|
@ -5569,6 +5569,7 @@ void GLCanvas3D::render_thumbnail_internal(ThumbnailData& thumbnail_data, const
|
|||
|
||||
//BBS: use original iso view for thumbnail
|
||||
camera.select_view("iso");
|
||||
camera.zoom_to_box(volumes_box);
|
||||
}
|
||||
|
||||
camera.apply_view_matrix();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue