mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Revert of b140709fa8
and new implementation of fixing picking for sinking objects
This commit is contained in:
parent
7cd402dcd0
commit
1f3252dd78
8 changed files with 86 additions and 96 deletions
|
@ -91,9 +91,9 @@ void GLGizmoHollow::on_render() const
|
|||
void GLGizmoHollow::on_render_for_picking() const
|
||||
{
|
||||
const Selection& selection = m_parent.get_selection();
|
||||
#if ENABLE_RENDER_PICKING_PASS
|
||||
m_z_shift = selection.get_volume(*selection.get_volume_idxs().begin())->get_sla_shift_z();
|
||||
#endif
|
||||
//#if ENABLE_RENDER_PICKING_PASS
|
||||
// m_z_shift = selection.get_volume(*selection.get_volume_idxs().begin())->get_sla_shift_z();
|
||||
//#endif
|
||||
|
||||
glsafe(::glEnable(GL_DEPTH_TEST));
|
||||
render_points(selection, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue