Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2020-03-12 16:13:08 +0300
committerbubnikv <bubnikv@gmail.com>2020-03-12 16:13:08 +0300
commitf71d3e63f2560e712a38a0b08257cf2a4bd80d21 (patch)
tree1a0c5dde1852751231c524eb8c42b84e7c14d387 /src/slic3r
parentb71161265f33f718e9328db528f735993f99a887 (diff)
Changed location of vendor specific thumbnail images of printers:
These images are newly stored inside the resources/profiles/VENDOR_NAME/, they should be named by the printer_model identifier suffixed with "_thumbnail.png" All the existing printer thumbnails were moved and renamed, thumbnails for the 3rd party printers were added, marked as Beta.
Diffstat (limited to 'src/slic3r')
-rw-r--r--src/slic3r/GUI/ConfigWizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/ConfigWizard.cpp b/src/slic3r/GUI/ConfigWizard.cpp
index ac4357a2e..bbdf5f2a1 100644
--- a/src/slic3r/GUI/ConfigWizard.cpp
+++ b/src/slic3r/GUI/ConfigWizard.cpp
@@ -188,7 +188,7 @@ PrinterPicker::PrinterPicker(wxWindow *parent, const VendorProfile &vendor, wxSt
wxBitmap bitmap;
int bitmap_width = 0;
- const wxString bitmap_file = GUI::from_u8(Slic3r::var((boost::format("printers/%1%_%2%.png") % vendor.id % model.id).str()));
+ const wxString bitmap_file = GUI::from_u8(Slic3r::resources_dir() + "/profiles/" + vendor.id + "/" + model.id + "_thumbnail.png");
if (wxFileExists(bitmap_file)) {
bitmap.LoadFile(bitmap_file, wxBITMAP_TYPE_PNG);
bitmap_width = bitmap.GetWidth();