Fix icons.
Fix error message on uknown glyph in font
This commit is contained in:
parent
88523bceb6
commit
6a66436858
2 changed files with 9 additions and 6 deletions
src/slic3r/GUI/Gizmos
|
@ -470,7 +470,7 @@ void GLGizmoEmboss::initialize()
|
|||
|
||||
// TODO: What to do when icon was NOT loaded?
|
||||
bool success = init_icons();
|
||||
|
||||
assert(success);
|
||||
load_font_list();
|
||||
|
||||
|
||||
|
@ -1416,7 +1416,7 @@ std::string GLGizmoEmboss::create_volume_name()
|
|||
|
||||
bool GLGizmoEmboss::init_icons()
|
||||
{
|
||||
std::string path = resources_dir() + "/icons/white/";
|
||||
std::string path = resources_dir() + "/icons/";
|
||||
|
||||
// icon order has to match the enum IconType
|
||||
std::vector<std::string> filenames = {path + "wrench.svg",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue