Switch to current SLA profile if an imported archive doesn't contain it.
Send a warning notification if this happens. Also,if there is no current SLA profile initialized, an error message will tell the user to switch to an SLA profile before importing. fixes #6915
This commit is contained in:
parent
33eba4aea6
commit
4d2bf8db0d
3 changed files with 37 additions and 13 deletions
|
@ -57,6 +57,8 @@ inline ConfigSubstitutions import_sla_archive(
|
|||
return import_sla_archive(zipfname, windowsize, out, profile, progr);
|
||||
}
|
||||
|
||||
class MissingProfileError : public RuntimeError { using RuntimeError::RuntimeError; };
|
||||
|
||||
} // namespace Slic3r::sla
|
||||
|
||||
#endif // ARCHIVETRAITS_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue