Follow-up to ee626eb65a
This commit is contained in:
parent
9e9792756b
commit
f8c67e07a4
@ -186,7 +186,7 @@ public:
|
|||||||
ExtrusionEntity* clone() const override { return new ExtrusionPathOriented(*this); }
|
ExtrusionEntity* clone() const override { return new ExtrusionPathOriented(*this); }
|
||||||
// Create a new object, initialize it with this object using the move semantics.
|
// Create a new object, initialize it with this object using the move semantics.
|
||||||
ExtrusionEntity* clone_move() override { return new ExtrusionPathOriented(std::move(*this)); }
|
ExtrusionEntity* clone_move() override { return new ExtrusionPathOriented(std::move(*this)); }
|
||||||
virtual bool can_reverse() const { return false; }
|
virtual bool can_reverse() const override { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::vector<ExtrusionPath> ExtrusionPaths;
|
typedef std::vector<ExtrusionPath> ExtrusionPaths;
|
||||||
|
@ -962,7 +962,7 @@ void PrintObject::detect_surfaces_type()
|
|||||||
#endif /* SLIC3R_DEBUG_SLICE_PROCESSING */
|
#endif /* SLIC3R_DEBUG_SLICE_PROCESSING */
|
||||||
|
|
||||||
// save surfaces to layer
|
// save surfaces to layer
|
||||||
Surfaces &surfaces_out = interface_shells ? surfaces_new[idx_layer] : layerm->slices().surfaces;
|
Surfaces &surfaces_out = interface_shells ? surfaces_new[idx_layer] : layerm->m_slices.surfaces;
|
||||||
Surfaces surfaces_backup;
|
Surfaces surfaces_backup;
|
||||||
if (! interface_shells) {
|
if (! interface_shells) {
|
||||||
surfaces_backup = std::move(surfaces_out);
|
surfaces_backup = std::move(surfaces_out);
|
||||||
|
@ -543,7 +543,7 @@ void PrintObject::slice()
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename ThrowOnCancel>
|
template<typename ThrowOnCancel>
|
||||||
static inline void apply_mm_segmentation(PrintObject &print_object, ThrowOnCancel throw_on_cancel)
|
void apply_mm_segmentation(PrintObject &print_object, ThrowOnCancel throw_on_cancel)
|
||||||
{
|
{
|
||||||
// Returns MMU segmentation based on painting in MMU segmentation gizmo
|
// Returns MMU segmentation based on painting in MMU segmentation gizmo
|
||||||
std::vector<std::vector<ExPolygons>> segmentation = multi_material_segmentation_by_painting(print_object, throw_on_cancel);
|
std::vector<std::vector<ExPolygons>> segmentation = multi_material_segmentation_by_painting(print_object, throw_on_cancel);
|
||||||
|
Loading…
Reference in New Issue
Block a user