mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-16 08:15:36 -06:00
Update Plater.cpp
This commit is contained in:
parent
b2399ac909
commit
d9669c3f1f
1 changed files with 3 additions and 0 deletions
|
|
@ -3954,6 +3954,8 @@ void Sidebar::update_printer_thumbnail()
|
|||
if (printer_thumbnails.find(printer_type) != printer_thumbnails.end()) // Use known cache first
|
||||
p->image_printer->SetBitmap(create_scaled_bitmap(printer_thumbnails[printer_type], this, PRINTER_THUMBNAIL_SIZE.GetHeight()));
|
||||
else {
|
||||
/* ORCA this part check images folder for BBL covers but not checks file existence and causes crash on Linux
|
||||
* BBL covers already exist on profile folder so no need to use this section
|
||||
try {
|
||||
// No cache, try dedicated printer preview
|
||||
p->image_printer->SetBitmap(create_scaled_bitmap("printer_preview_" + printer_type, this, 48));
|
||||
|
|
@ -3961,6 +3963,7 @@ void Sidebar::update_printer_thumbnail()
|
|||
printer_thumbnails[printer_type] = "printer_preview_" + printer_type;
|
||||
return;
|
||||
} catch (...) {}
|
||||
*/
|
||||
|
||||
// Orca: try to use the printer model cover as the thumbnail
|
||||
const auto model_name = selected_preset.config.opt_string("printer_model");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue