Fixed SPE-1192

Wrong list of SLA-materials, when no SLA-printer is installed, but 3MF with SLA print is loaded
This commit is contained in:
YuSanka 2022-02-07 10:00:49 +01:00
parent 6667852d92
commit 874da0281d
2 changed files with 8 additions and 5 deletions

View file

@ -412,6 +412,8 @@ void Preset::set_visible_from_appconfig(const AppConfig &app_config)
for (auto it = this->renamed_from.begin(); ! is_visible && it != this->renamed_from.end(); ++ it)
is_visible = has(*it);
}
else
is_visible = false;
}
}