Gizmo Hollow - Show clipped supports only when the supports are visible
This commit is contained in:
parent
9d156463b1
commit
37edec974c
@ -101,7 +101,8 @@ void GLGizmoHollow::on_render()
|
||||
|
||||
m_selection_rectangle.render(m_parent);
|
||||
m_c->object_clipper()->render_cut();
|
||||
m_c->supports_clipper()->render_cut();
|
||||
if (are_sla_supports_shown())
|
||||
m_c->supports_clipper()->render_cut();
|
||||
|
||||
glsafe(::glDisable(GL_BLEND));
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user