mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Fixed depth test when rendering the picking texture
This commit is contained in:
@@ -3446,6 +3446,7 @@ void GLCanvas3D::_picking_pass() const
|
|||||||
::glDisable(GL_MULTISAMPLE);
|
::glDisable(GL_MULTISAMPLE);
|
||||||
|
|
||||||
::glDisable(GL_BLEND);
|
::glDisable(GL_BLEND);
|
||||||
|
::glEnable(GL_DEPTH_TEST);
|
||||||
|
|
||||||
::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user