From b10d064a24d30a04117a429d096e23851c4df570 Mon Sep 17 00:00:00 2001
From: Lukas Matena <lukasmatena@seznam.cz>
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 000000000..b8ba0a651
--- /dev/null
+++ b/resources/icons/fuzzy_skin.svg
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 23.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
+<g>
+	<circle fill="#808080" cx="8" cy="8" r="0"/>
+</g>
+</svg>
diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp
index 5247558c7..ad5ee151d 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");