diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 905849b8a..22ce86c9f 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -6503,9 +6503,9 @@ void Plater::export_stl_obj(bool extended, bool selection_only) } } - if (path.EndsWith(".stl")) + if (path.Lower().EndsWith(".stl")) Slic3r::store_stl(path_u8.c_str(), &mesh, true); - else if (path.EndsWith(".obj")) + else if (path.Lower().EndsWith(".obj")) Slic3r::store_obj(path_u8.c_str(), &mesh); // p->statusbar()->set_status_text(format_wxstr(_L("STL file exported to %s"), path)); }