Resin colors: Set default value when color wasn't set in config

This commit is contained in:
YuSanka 2021-11-16 10:39:20 +01:00
parent 9af9b9b35d
commit d6306f00b7
3 changed files with 10 additions and 4 deletions

View file

@ -141,7 +141,7 @@ public:
wxStaticText *info_size;
wxStaticText *info_volume;
wxStaticText *info_facets;
wxStaticText *info_materials;
// wxStaticText *info_materials;
wxStaticText *info_manifold;
wxStaticText *label_volume;
@ -199,7 +199,7 @@ ObjectInfo::ObjectInfo(wxWindow *parent) :
sizer_manifold->Add(info_manifold, 0, wxLEFT, 2);
Add(sizer_manifold, 0, wxEXPAND | wxTOP, 4);
sla_hidden_items = { label_volume, info_volume, /*label_materials, */info_materials };
sla_hidden_items = { label_volume, info_volume, /*label_materials, info_materials*/ };
}
void ObjectInfo::show_sizer(bool show)