mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Implement exception rethrow for ui jobs
This commit is contained in:
parent
264ce71e94
commit
56e7d83513
11 changed files with 112 additions and 51 deletions
|
@ -7,9 +7,8 @@ namespace Slic3r { namespace GUI {
|
|||
|
||||
class Plater;
|
||||
|
||||
class FillBedJob : public Job
|
||||
class FillBedJob : public PlaterJob
|
||||
{
|
||||
Plater *m_plater;
|
||||
int m_object_idx = -1;
|
||||
|
||||
using ArrangePolygon = arrangement::ArrangePolygon;
|
||||
|
@ -28,7 +27,7 @@ protected:
|
|||
|
||||
public:
|
||||
FillBedJob(std::shared_ptr<ProgressIndicator> pri, Plater *plater)
|
||||
: Job{std::move(pri)}, m_plater{plater}
|
||||
: PlaterJob{std::move(pri), plater}
|
||||
{}
|
||||
|
||||
int status_range() const override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue