mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Fix pick rendering depth issue
This commit is contained in:
parent
e211e7d144
commit
ac001f8816
1 changed files with 0 additions and 2 deletions
|
@ -973,8 +973,6 @@ void PartPlate::render_only_numbers(bool bottom)
|
|||
|
||||
void PartPlate::render_rectangle_for_picking(const Transform3d &view_matrix, const Transform3d &projection_matrix, GLModel &buffer, const ColorRGBA render_color)
|
||||
{
|
||||
glsafe(::glDisable(GL_DEPTH_TEST));
|
||||
|
||||
GLShaderProgram *shader = wxGetApp().get_shader("flat_attr");
|
||||
if (shader != nullptr) {
|
||||
shader->start_using();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue