mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fix for issue #2765, arrange crash with custom beds
This commit is contained in:
parent
15744f021a
commit
8fce511806
2 changed files with 7 additions and 4 deletions
|
@ -45,12 +45,12 @@ class BedShapeHint {
|
|||
Polyline polygon;
|
||||
InfiniteBed infbed{};
|
||||
~BedShape_u() {}
|
||||
BedShape_u() {};
|
||||
BedShape_u() {}
|
||||
} m_bed;
|
||||
|
||||
public:
|
||||
|
||||
BedShapeHint(){};
|
||||
BedShapeHint(){}
|
||||
|
||||
/// Get a bed shape hint for arrange() from a naked Polyline.
|
||||
explicit BedShapeHint(const Polyline &polyl);
|
||||
|
@ -73,7 +73,7 @@ public:
|
|||
{
|
||||
if (m_type == BedShapes::bsIrregular)
|
||||
m_bed.polygon.Slic3r::Polyline::~Polyline();
|
||||
};
|
||||
}
|
||||
|
||||
BedShapeHint(const BedShapeHint &cpy) { *this = cpy; }
|
||||
BedShapeHint(BedShapeHint &&cpy) { *this = std::move(cpy); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue