Disable SSAO for grid (#15865)

Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
This commit is contained in:
Ian Bassi
2026-09-23 20:38:04 -03:00
committed by GitHub
co-authored by Rodrigo Faselli
parent 66b300987b
commit 02746cd0f5
+4 -1
View File
@@ -3555,8 +3555,11 @@ void PartPlate::render(const Transform3d& view_matrix, const Transform3d& projec
shader->stop_using();
}
if (wxGetApp().show_plate_gridlines() && show_grid)
if (wxGetApp().show_plate_gridlines() && show_grid) {
glsafe(::glDepthMask(bottom ? GL_TRUE : GL_FALSE));
render_grid(bottom);
glsafe(::glDepthMask(GL_TRUE));
}
if (!hide_chrome && !bottom && m_selected && !force_background_color) {
if (m_partplate_list)