Fixed bug related to possibility of load several files as a multi-part object
Steps to repro: - set MMU printer - set SL1 printer - add two or more objects - select yes in "Multi-part object detected" dialog
This commit is contained in:
parent
3f27802c0a
commit
23732864ab
@ -2238,7 +2238,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||
|
||||
auto *nozzle_dmrs = config->opt<ConfigOptionFloats>("nozzle_diameter");
|
||||
|
||||
bool one_by_one = input_files.size() == 1 || nozzle_dmrs->values.size() <= 1;
|
||||
bool one_by_one = input_files.size() == 1 || printer_technology == ptSLA || nozzle_dmrs->values.size() <= 1;
|
||||
if (! one_by_one) {
|
||||
for (const auto &path : input_files) {
|
||||
if (std::regex_match(path.string(), pattern_bundle)) {
|
||||
|
Loading…
Reference in New Issue
Block a user