mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 02:15:55 +08:00
Fix UTF8 encoding for SVG "save as"
This commit is contained in:
parent
bcb1178954
commit
79dc95d3e8
@ -1595,7 +1595,7 @@ void GLGizmoSVG::draw_filename(){
|
||||
if (dlg.ShowModal() == wxID_OK ){
|
||||
last_used_directory = dlg.GetDirectory();
|
||||
wxString out_path = dlg.GetPath();
|
||||
std::string path{out_path.c_str()};
|
||||
std::string path{out_path.ToUTF8().data()};
|
||||
//Slic3r::save(*m_volume_shape.svg_file.image, path);
|
||||
|
||||
std::ofstream stream(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user