mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: [STUDIO-1360] media file image scale on macOS
Change-Id: I2a25ff53b9beb08a90aca07adad7accc69b6d2ed
This commit is contained in:
@@ -34,8 +34,12 @@ struct StaticBambuLib : BambuLib {
|
||||
PrinterFileSystem::PrinterFileSystem()
|
||||
: BambuLib(StaticBambuLib::get())
|
||||
{
|
||||
if (!default_thumbnail.IsOk())
|
||||
if (!default_thumbnail.IsOk()) {
|
||||
default_thumbnail = *Slic3r::GUI::BitmapCache().load_svg("printer_file", 0, 0);
|
||||
#ifdef __APPLE__
|
||||
default_thumbnail = wxBitmap(default_thumbnail.ConvertToImage(), -1, 1);
|
||||
#endif
|
||||
}
|
||||
m_session.owner = this;
|
||||
#ifdef PRINTER_FILE_SYSTEM_TEST
|
||||
auto time = wxDateTime::Now();
|
||||
|
||||
Reference in New Issue
Block a user