Fixed wxASSERT( variant.GetType() == PrusaDataViewBitmapText );
This commit is contained in:
parent
b9b404dd2c
commit
317fc45522
3 changed files with 12 additions and 6 deletions
src/slic3r/GUI
|
@ -1048,9 +1048,8 @@ void ObjectList::add_object_to_list(size_t obj_idx)
|
|||
int errors = stats.degenerate_facets + stats.edges_fixed + stats.facets_removed +
|
||||
stats.facets_added + stats.facets_reversed + stats.backwards_edges;
|
||||
if (errors > 0) {
|
||||
const PrusaDataViewBitmapText data(item_name, m_icon_manifold_warning);
|
||||
wxVariant variant;
|
||||
variant << data;
|
||||
variant << PrusaDataViewBitmapText(item_name, m_icon_manifold_warning);
|
||||
m_objects_model->SetValue(variant, item, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue