Fix of "Repir from File menu doesn't save the file #2064"

The file was saved, albeit using an "obj" format, but into a file
with an ".stl" extension.
The software was fixed to propose a file to save with a correct ".obj"
extension.
This commit is contained in:
bubnikv 2019-04-13 14:45:35 +02:00
parent 1e455bc065
commit 255a4e05dc
2 changed files with 12 additions and 10 deletions

View file

@ -54,7 +54,7 @@ class MainFrame : public DPIFrame
PrintHostQueueDialog *m_printhost_queue_dlg;
std::string get_base_name(const wxString &full_name) const;
std::string get_base_name(const wxString &full_name, const char *extension = nullptr) const;
std::string get_dir_name(const wxString &full_name) const;
void on_presets_changed(SimpleEvent&);