mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-30 22:32:07 +00:00
ENH: add filament alias to a print warning
Change-Id: Ie7a2e0cbdd016c2120c46cde9a92a93baffbe832 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
@@ -16,12 +16,20 @@
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
enum StringExceptionType {
|
||||
STRING_EXCEPT_NOT_DEFINED = 0,
|
||||
STRING_EXCEPT_FILAMENT_NOT_MATCH_BED_TYPE = 1,
|
||||
STRING_EXCEPT_COUNT
|
||||
};
|
||||
|
||||
// BBS: error with object
|
||||
struct StringObjectException
|
||||
{
|
||||
std::string string;
|
||||
ObjectBase const *object = nullptr;
|
||||
std::string opt_key;
|
||||
StringExceptionType type; // warning type for tips
|
||||
std::vector<std::string> params; // warning params for tips
|
||||
};
|
||||
|
||||
class CanceledException : public std::exception
|
||||
|
||||
Reference in New Issue
Block a user