mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 14:55:59 +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 ){
|
if (dlg.ShowModal() == wxID_OK ){
|
||||||
last_used_directory = dlg.GetDirectory();
|
last_used_directory = dlg.GetDirectory();
|
||||||
wxString out_path = dlg.GetPath();
|
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);
|
//Slic3r::save(*m_volume_shape.svg_file.image, path);
|
||||||
|
|
||||||
std::ofstream stream(path);
|
std::ofstream stream(path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user