mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
Clipping plane can now handle multiple-part objects
This commit is contained in:
parent
fe57826695
commit
c32fa67523
2 changed files with 41 additions and 23 deletions
|
@ -257,8 +257,8 @@ protected:
|
|||
void on_release() override;
|
||||
|
||||
private:
|
||||
const TriangleMesh* m_old_mesh = nullptr;
|
||||
std::unique_ptr<MeshClipper> m_clipper;
|
||||
std::vector<const TriangleMesh*> m_old_meshes;
|
||||
std::vector<std::unique_ptr<MeshClipper>> m_clippers;
|
||||
std::unique_ptr<ClippingPlane> m_clp;
|
||||
double m_clp_ratio = 0.;
|
||||
double m_active_inst_bb_radius = 0.;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue