Gizmo Hollow - Show clipped supports only when the supports are visible

This commit is contained in:
enricoturri1966 2023-03-21 15:33:27 +01:00
parent 9d156463b1
commit 37edec974c
2 changed files with 2 additions and 2 deletions

View File

@ -101,6 +101,7 @@ void GLGizmoHollow::on_render()
m_selection_rectangle.render(m_parent);
m_c->object_clipper()->render_cut();
if (are_sla_supports_shown())
m_c->supports_clipper()->render_cut();
glsafe(::glDisable(GL_BLEND));

View File

@ -144,7 +144,6 @@ void GLGizmoSlaBase::render_volumes()
m_volumes.render(GLVolumeCollection::ERenderType::Opaque, true, camera.get_view_matrix(), camera.get_projection_matrix());
shader->stop_using();
}
void GLGizmoSlaBase::register_volume_raycasters_for_picking()