mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-06 12:03:33 +00:00
SLA gizmo - fixed support points rendering (depth is now correctly accounted for)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user