mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 11:52:05 +00:00
fix: Show Labels and Show Overhang toggles not being saved (#12218)
* fix: Show Labels and Show Overhang toggles not being saved * refactor: use get_bool and add comments
This commit is contained in:
@@ -1250,6 +1250,11 @@ bool GLCanvas3D::init()
|
||||
on_change_color_mode(wxGetApp().app_config->get("dark_color_mode") == "1", false);
|
||||
|
||||
m_show_world_axes = wxGetApp().app_config->get("show_axes") == "true";
|
||||
|
||||
// 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"));
|
||||
|
||||
BOOST_LOG_TRIVIAL(info) <<__FUNCTION__<< " enter";
|
||||
glsafe(::glClearColor(1.0f, 1.0f, 1.0f, 1.0f));
|
||||
|
||||
Reference in New Issue
Block a user