mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
notifiactions: new icons + deleting old warnings&errors
This commit is contained in:
parent
acb5a9bc8d
commit
2455df4017
10 changed files with 329 additions and 24 deletions
|
@ -3481,6 +3481,10 @@ void Plater::priv::add_warning(const Slic3r::PrintStateBase::Warning& warning, s
|
|||
}
|
||||
void Plater::priv::actualizate_warnings(const Model& model, size_t print_oid)
|
||||
{
|
||||
if (model.objects.size() == 0) {
|
||||
clear_warnings();
|
||||
return;
|
||||
}
|
||||
std::vector<size_t> living_oids;
|
||||
living_oids.push_back(model.id().id);
|
||||
living_oids.push_back(print_oid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue