From c3a11593ee0604dafa288d060e0a01fb00bcffcc Mon Sep 17 00:00:00 2001 From: supermerill Date: Tue, 10 Nov 2020 13:08:41 +0100 Subject: [PATCH] stop bothering me with deprecated inches! --- src/slic3r/GUI/Plater.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index e095f0ee8..c57c5982c 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -2351,14 +2351,14 @@ std::vector Plater::priv::load_files(const std::vector& input_ if (imperial_units) convert_from_imperial_units(model); - else if (model.looks_like_imperial_units()) { - wxMessageDialog msg_dlg(q, format_wxstr(_L( - "Some object(s) in file %s looks like saved in inches.\n" - "Should I consider them as a saved in inches and convert them?"), from_path(filename)) + "\n", - _L("Saved in inches object detected"), wxICON_WARNING | wxYES | wxNO); - if (msg_dlg.ShowModal() == wxID_YES) - convert_from_imperial_units(model); - } + // else if (model.looks_like_imperial_units()) { + // wxMessageDialog msg_dlg(q, format_wxstr(_L( + // "Some object(s) in file %s looks like saved in inches.\n" + // "Should I consider them as a saved in inches and convert them?"), from_path(filename)) + "\n", + // _L("Saved in inches object detected"), wxICON_WARNING | wxYES | wxNO); + // if (msg_dlg.ShowModal() == wxID_YES) + // convert_from_imperial_units(model); + //} if (! is_project_file) { if (model.looks_like_multipart_object()) {