Add a notification when custom support enforcers are not used due to supports being off

It is now emitted from Print::validate and has a hyperlink to enable supports
This commit is contained in:
Lukas Matena 2021-02-26 08:23:37 +01:00
parent a7255235e5
commit abd5a9a46e
10 changed files with 89 additions and 11 deletions

View file

@ -366,7 +366,7 @@ public:
virtual std::vector<ObjectID> print_object_ids() const = 0;
// Validate the print, return empty string if valid, return error if process() cannot (or should not) be started.
virtual std::string validate() const { return std::string(); }
virtual std::string validate(std::string* warning = nullptr) const { return std::string(); }
enum ApplyStatus {
// No change after the Print::apply() call.