mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
Merge some BS1.7 changes:
Port object canceling for BL X1 from BS. Todo: refactor
This commit is contained in:
parent
3acd89e877
commit
7ece35931e
15 changed files with 557 additions and 162 deletions
|
@ -2,6 +2,7 @@
|
|||
#define _libslic3r_Exception_h_
|
||||
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -35,6 +36,16 @@ public:
|
|||
private:
|
||||
size_t objectId_ = 0;
|
||||
};
|
||||
|
||||
class SlicingErrors : public Exception
|
||||
{
|
||||
public:
|
||||
using Exception::Exception;
|
||||
SlicingErrors(const std::vector<SlicingError> &errors) : Exception("Errors"), errors_(errors) {}
|
||||
|
||||
std::vector<SlicingError> errors_;
|
||||
};
|
||||
|
||||
#undef SLIC3R_DERIVE_EXCEPTION
|
||||
|
||||
} // namespace Slic3r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue