Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2018-09-20 09:40:22 +0300
committerYuSanka <yusanka@gmail.com>2018-09-20 09:40:22 +0300
commitebb6f47f501c83cf7720430f45ff7851e285af39 (patch)
tree8f2e4570fadab14232cb3244ceeb094a5ae9fc35 /src/slic3r/GUI/BedShapeDialog.cpp
parent7ef894e074441f7998909cc9b557c4868a1016f9 (diff)
Added GUI_App and MainFrame
Diffstat (limited to 'src/slic3r/GUI/BedShapeDialog.cpp')
-rw-r--r--src/slic3r/GUI/BedShapeDialog.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/slic3r/GUI/BedShapeDialog.cpp b/src/slic3r/GUI/BedShapeDialog.cpp
index e04f2b370..7c019599a 100644
--- a/src/slic3r/GUI/BedShapeDialog.cpp
+++ b/src/slic3r/GUI/BedShapeDialog.cpp
@@ -291,12 +291,6 @@ void BedShapePanel::update_shape()
// Loads an stl file, projects it to the XY plane and calculates a polygon.
void BedShapePanel::load_stl()
{
- t_file_wild_card vec_FILE_WILDCARDS = get_file_wild_card();
- std::vector<std::string> file_types = { "known", "stl", "obj", "amf", "3mf", "prusa" };
- wxString MODEL_WILDCARD;
- for (auto file_type: file_types)
- MODEL_WILDCARD += vec_FILE_WILDCARDS.at(file_type) + "|";
-
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);
if (dialog->ShowModal() != wxID_OK) {