From b42e4b29272762b925e78c19fb5b0fd834eecf61 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Wed, 8 Jun 2022 13:12:29 +0200 Subject: [PATCH] GLTexture - Use BitmapCache::nsvgParseFromFileWithReplace() in place of nsvgParseFromFile() to load images from files --- src/slic3r/GUI/GLTexture.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GLTexture.cpp b/src/slic3r/GUI/GLTexture.cpp index 137a0a109..6065f22a5 100644 --- a/src/slic3r/GUI/GLTexture.cpp +++ b/src/slic3r/GUI/GLTexture.cpp @@ -7,6 +7,7 @@ #include "GUI_App.hpp" #include "GLModel.hpp" #endif // ENABLE_LEGACY_OPENGL_REMOVAL +#include "BitmapCache.hpp" #include @@ -204,7 +205,7 @@ bool GLTexture::load_from_svg_files_as_sprites_array(const std::vector