mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-22 01:14:25 +08:00
stop bothering me with deprecated inches!
This commit is contained in:
parent
bb2a4c13fb
commit
c3a11593ee
@ -2351,14 +2351,14 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& 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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user