WIP: Plater, build fixes

This commit is contained in:
Vojtech Kral 2018-10-04 11:12:55 +02:00
parent 99fe5761d8
commit 1f926964ee
15 changed files with 511 additions and 143 deletions

View file

@ -292,7 +292,7 @@ void BedShapePanel::update_shape()
void BedShapePanel::load_stl()
{
auto dialog = new wxFileDialog(this, _(L("Choose a file to import bed shape from (STL/OBJ/AMF/3MF/PRUSA):")), "", "",
MODEL_WILDCARD, wxFD_OPEN | wxFD_FILE_MUST_EXIST);
file_wildcards[FT_MODEL], wxFD_OPEN | wxFD_FILE_MUST_EXIST);
if (dialog->ShowModal() != wxID_OK) {
dialog->Destroy();
return;