Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-11-11 13:22:57 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-11-11 13:22:57 +0300
commit3a9327753160e8cc99d36c6a168cce82099fb5a3 (patch)
tree31c025df348803ef25a80c227a7458718b0bbc0e /src/slic3r/GUI/BitmapCache.cpp
parent17686b48145372112bb8b5c4e68c62dfcbfa9a5a (diff)
Revert "medical"
This reverts commit 117302ba22aa540cc020e1e5eb77422801627c29.
Diffstat (limited to 'src/slic3r/GUI/BitmapCache.cpp')
-rw-r--r--src/slic3r/GUI/BitmapCache.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/slic3r/GUI/BitmapCache.cpp b/src/slic3r/GUI/BitmapCache.cpp
index 350a98e67..749fc5ef2 100644
--- a/src/slic3r/GUI/BitmapCache.cpp
+++ b/src/slic3r/GUI/BitmapCache.cpp
@@ -20,7 +20,7 @@
namespace Slic3r { namespace GUI {
-BitmapCache::BitmapCache(bool medical) : m_medical(medical)
+BitmapCache::BitmapCache()
{
#ifdef __APPLE__
// Note: win->GetContentScaleFactor() is not used anymore here because it tends to
@@ -280,9 +280,7 @@ wxBitmap* BitmapCache::load_svg(const std::string &bitmap_name, unsigned target_
if (dark_mode)
replaces["#808080"] = "#FFFFFF";
if (!new_color.empty())
- replaces[m_medical ? "#5EA796" : "#ED6B21"] = new_color;
- if (m_medical)
- replaces["#ED6B21"] = "#5EA796";
+ replaces["#ED6B21"] = new_color;
NSVGimage *image = ::nsvgParseFromFileWithReplace(Slic3r::var(bitmap_name + ".svg").c_str(), "px", 96.0f, replaces);
if (image == nullptr)