mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 18:15:58 +08:00
Fix pick rendering depth issue
This commit is contained in:
parent
e211e7d144
commit
ac001f8816
@ -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…
x
Reference in New Issue
Block a user