mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
SLA gizmo - fixed support points rendering (depth is now correctly accounted for)
This commit is contained in:
parent
672cf5d45f
commit
5966dcb78e
4 changed files with 43 additions and 46 deletions
|
@ -439,7 +439,7 @@ protected:
|
|||
|
||||
|
||||
|
||||
#define SLAGIZMO_IMGUI_MODAL 1
|
||||
#define SLAGIZMO_IMGUI_MODAL 0
|
||||
class GLGizmoSlaSupports : public GLGizmoBase
|
||||
{
|
||||
private:
|
||||
|
@ -449,6 +449,8 @@ private:
|
|||
int m_old_instance_id = -1;
|
||||
Vec3f unproject_on_mesh(const Vec2d& mouse_pos);
|
||||
|
||||
const float RenderPointScale = 1.f;
|
||||
|
||||
GLUquadricObj* m_quadric;
|
||||
Eigen::MatrixXf m_V; // vertices
|
||||
Eigen::MatrixXi m_F; // facets indices
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue