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>2019-01-03 14:32:13 +0300
committerbubnikv <bubnikv@gmail.com>2019-01-03 14:32:13 +0300
commit0d7e53badb4c62ff1a8638ca916109b524f52b6c (patch)
tree6f215749d1d2c3fe5455e4a68cb745dd4f1c83e2 /src/slic3r/GUI/GLTexture.cpp
parentd426895580f137ee8fa5629d1290f9e8477a0fba (diff)
Fix of 1.42.0-Alpha1 won't open from self contained folder #1500
Added some missing UTF8 to wxString path explicit conversions.
Diffstat (limited to 'src/slic3r/GUI/GLTexture.cpp')
-rw-r--r--src/slic3r/GUI/GLTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GLTexture.cpp b/src/slic3r/GUI/GLTexture.cpp
index 235e3d93b..0ac7e983e 100644
--- a/src/slic3r/GUI/GLTexture.cpp
+++ b/src/slic3r/GUI/GLTexture.cpp
@@ -36,7 +36,7 @@ bool GLTexture::load_from_file(const std::string& filename, bool generate_mipmap
// Load a PNG with an alpha channel.
wxImage image;
- if (!image.LoadFile(filename, wxBITMAP_TYPE_PNG))
+ if (!image.LoadFile(wxString::FromUTF8(filename), wxBITMAP_TYPE_PNG))
{
reset();
return false;