mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-24 17:26:47 +00:00
Disable SSAO for grid (#15865)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
This commit is contained in:
co-authored by
Rodrigo Faselli
parent
66b300987b
commit
02746cd0f5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user