From b10d064a24d30a04117a429d096e23851c4df570 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Fri, 26 Feb 2021 13:56:09 +0100 Subject: [PATCH] Added an empty category icon for Fuzzy Skin to prevent crashes in ObjectList The icon should later be replaced by a proper one. --- resources/icons/fuzzy_skin.svg | 8 ++++++++ src/slic3r/GUI/GUI_ObjectList.cpp | 1 + 2 files changed, 9 insertions(+) create mode 100644 resources/icons/fuzzy_skin.svg diff --git a/resources/icons/fuzzy_skin.svg b/resources/icons/fuzzy_skin.svg new file mode 100644 index 00000000000..b8ba0a65136 --- /dev/null +++ b/resources/icons/fuzzy_skin.svg @@ -0,0 +1,8 @@ + + + + + + + diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index 5247558c771..ad5ee151d82 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -93,6 +93,7 @@ ObjectList::ObjectList(wxWindow* parent) : CATEGORY_ICON[L("Layers and Perimeters")] = create_scaled_bitmap("layers"); CATEGORY_ICON[L("Infill")] = create_scaled_bitmap("infill"); CATEGORY_ICON[L("Ironing")] = create_scaled_bitmap("ironing"); + CATEGORY_ICON[L("Fuzzy Skin")] = create_scaled_bitmap("fuzzy_skin"); CATEGORY_ICON[L("Support material")] = create_scaled_bitmap("support"); CATEGORY_ICON[L("Speed")] = create_scaled_bitmap("time"); CATEGORY_ICON[L("Extruders")] = create_scaled_bitmap("funnel");