mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
Don't ask about inches if we load project file (3mf or amf). #5006
This commit is contained in:
parent
acd1782910
commit
2a44fbefd6
1 changed files with 10 additions and 10 deletions
|
@ -2399,6 +2399,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||||
wxGetApp().sidebar().update_ui_from_settings();
|
wxGetApp().sidebar().update_ui_from_settings();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!is_project_file) {
|
||||||
if (imperial_units)
|
if (imperial_units)
|
||||||
convert_from_imperial_units(model);
|
convert_from_imperial_units(model);
|
||||||
else if (model.looks_like_imperial_units()) {
|
else if (model.looks_like_imperial_units()) {
|
||||||
|
@ -2410,7 +2411,6 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||||
convert_from_imperial_units(model);
|
convert_from_imperial_units(model);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! is_project_file) {
|
|
||||||
if (model.looks_like_multipart_object()) {
|
if (model.looks_like_multipart_object()) {
|
||||||
wxMessageDialog msg_dlg(q, _L(
|
wxMessageDialog msg_dlg(q, _L(
|
||||||
"This file contains several objects positioned at multiple heights.\n"
|
"This file contains several objects positioned at multiple heights.\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue