fix warnings:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1452:18: warning: unused variable 'volume_id' [-Wunused-variable] ../src/slic3r/Utils/EmbossStyleManager.cpp:64:18: warning: unused variable 'loaded' [-Wunused-variable]
This commit is contained in:
parent
4fddeccdac
commit
94f735168c
@ -1449,8 +1449,6 @@ void GLGizmoEmboss::draw_model_type()
|
||||
if (is_volume_move_inside || is_volume_move_outside) process();
|
||||
}
|
||||
|
||||
ObjectID volume_id = m_volume->id();
|
||||
|
||||
// inspiration in ObjectList::change_part_type()
|
||||
// how to view correct side panel with objects
|
||||
ObjectList *obj_list = app.obj_list();
|
||||
|
@ -61,7 +61,7 @@ void EmbossStyleManager::init(AppConfig *app_config, const EmbossStyles &default
|
||||
m_style_items.push_back({std::move(style)});
|
||||
}
|
||||
// try to load first default font
|
||||
bool loaded = load_style(activ_index);
|
||||
[[maybe_unused]] bool loaded = load_style(activ_index);
|
||||
assert(loaded);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user