mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 06:49:00 +08:00
Fix of loacale in path for emboss SVG
This commit is contained in:
parent
6da93f04bf
commit
4d5b91ac57
@ -2173,9 +2173,7 @@ std::string choose_svg_file()
|
||||
if (input_files.size() != 1)
|
||||
BOOST_LOG_TRIVIAL(warning) << "SVG file dialog result contain multiple files but only first is used.";
|
||||
|
||||
auto &input_file = input_files.front();
|
||||
std::string path = std::string(input_file.c_str());
|
||||
|
||||
std::string path = into_u8(input_files.front());
|
||||
if (!boost::filesystem::exists(path)) {
|
||||
BOOST_LOG_TRIVIAL(warning) << "SVG file dialog return invalid path.";
|
||||
return {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user