Benjamin Greiner
14b1fc6404
- Update to 2.6.1 * When renaming a preset to a name containing non-ASCII characters, the encoding was mangled. This is now fixed (#11232). * Supports are no longer shown when using the clipping plane in SLA supports tool. * Fixed a crash when displaying command line help (#11060). * Two tooltips in the Cut tool dialog were shown with mangled encoding in some languages (#11236). * The Help menu in PrusaSlicer was extended with "Sample G-codes and Models" item, which navigates the user to the respective page on our website where these assets can be downloaded. * The Help menu was extended with "Quick Start" item, which navigates the user to the beginner's guide on our website. - Drop PrusaSlicer-pr11154-fix-cgal-c++-error.patch - Drop PrusaSlicer-drop-wx3.0.patch OBS-URL: https://build.opensuse.org/request/show/1111613 OBS-URL: https://build.opensuse.org/package/show/science/PrusaSlicer?expand=0&rev=66
14 lines
901 B
Diff
14 lines
901 B
Diff
Index: PrusaSlicer-version_2.6.1/src/slic3r/Utils/OctoPrint.cpp
|
|
===================================================================
|
|
--- PrusaSlicer-version_2.6.1.orig/src/slic3r/Utils/OctoPrint.cpp
|
|
+++ PrusaSlicer-version_2.6.1/src/slic3r/Utils/OctoPrint.cpp
|
|
@@ -751,7 +751,7 @@ bool PrusaLink::get_storage(wxArrayStrin
|
|
if (path && (!available || *available)) {
|
|
StorageInfo si;
|
|
si.path = boost::nowide::widen(*path);
|
|
- si.name = name ? boost::nowide::widen(*name) : wxString();
|
|
+ si.name = name ? wxString(boost::nowide::widen(*name)) : wxString();
|
|
// If read_only is missing, assume it is NOT read only.
|
|
// si.read_only = read_only ? *read_only : false; // version without "ro"
|
|
si.read_only = (read_only ? *read_only : (ro ? *ro : false));
|