mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fixed depth test when rendering the picking texture
This commit is contained in:
1 parent
c1dc46bb8e
commit
13ced87089
1 file changed
+1
@@ -3446,6 +3446,7 @@ void GLCanvas3D::_picking_pass() const
|
||||
::glDisable(GL_MULTISAMPLE);
|
||||
|
||||
::glDisable(GL_BLEND);
|
||||
::glEnable(GL_DEPTH_TEST);
|
||||
|
||||
::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
|
||||
Reference in new issue
Block a user