Fixed assert introduced with 3349644964

This commit is contained in:
enricoturri1966 2023-02-28 15:16:49 +01:00
parent 906671fbba
commit d46ee7822f

View File

@ -2683,7 +2683,8 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
instance->set_offset(-model_object->origin_translation);
}
}
model_object->ensure_on_bed(is_project_file);
if (!model_object->instances.empty())
model_object->ensure_on_bed(is_project_file);
}
if (one_by_one) {