fixing typo in #12218 (#12239)

Change slope global use configuration to show overhang

Unfortunately there was a typo in #12218

This should fix it.
This commit is contained in:
discip
2026-02-11 09:07:23 +01:00
committed by GitHub
parent d06159a0c4
commit 49413e7990

View File

@@ -1254,7 +1254,7 @@ bool GLCanvas3D::init()
// Controls the display of object names directly over the object
m_labels.show(wxGetApp().app_config->get_bool("show_labels"));
// Controls the color coding of overhang surfaces
m_slope.globalUse(wxGetApp().app_config->get_bool("show_labels"));
m_slope.globalUse(wxGetApp().app_config->get_bool("show_overhang"));
BOOST_LOG_TRIVIAL(info) <<__FUNCTION__<< " enter";
glsafe(::glClearColor(1.0f, 1.0f, 1.0f, 1.0f));