Merge branch 'dk_export_3mf'
This commit is contained in:
commit
2966405f11
@ -6638,11 +6638,14 @@ bool Plater::export_3mf(const boost::filesystem::path& output_path)
|
|||||||
if (ret) {
|
if (ret) {
|
||||||
// Success
|
// Success
|
||||||
// p->statusbar()->set_status_text(format_wxstr(_L("3MF file exported to %s"), path));
|
// p->statusbar()->set_status_text(format_wxstr(_L("3MF file exported to %s"), path));
|
||||||
|
BOOST_LOG_TRIVIAL(info) << "3MF file exported to " << path;
|
||||||
p->set_project_filename(path);
|
p->set_project_filename(path);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Failure
|
// Failure
|
||||||
// p->statusbar()->set_status_text(format_wxstr(_L("Error exporting 3MF file %s"), path));
|
// p->statusbar()->set_status_text(format_wxstr(_L("Error exporting 3MF file %s"), path));
|
||||||
|
const wxString what = GUI::format_wxstr(_L("%1%: %2%"),_L("Unable to save file") , path_u8);
|
||||||
|
show_error(this, what);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user