FIX: height range layers displayed in wrong position

jira: STUDIO-5341

Change-Id: I83918b4624f367efa54321f1898e1176cdb04ea9
This commit is contained in:
liz.li 2023-11-23 18:19:00 +08:00 committed by Lane.Wei
parent 9adcd44411
commit adc95d91a5
1 changed files with 2 additions and 0 deletions

View File

@ -3413,6 +3413,8 @@ void ObjectList::part_selection_changed()
wxGetApp().obj_settings()->get_og()->set_name(" " + og_name + " ");
#endif
if (!this->IsShown())
update_and_show_layers = false;
if (printer_technology() == ptSLA)
update_and_show_layers = false;
else if (update_and_show_layers) {