Merge remote-tracking branch 'remotes/origin/dev_native' into vb_dev_native_background_processing
This commit is contained in:
commit
f33713e060
@ -2893,11 +2893,11 @@ void GLCanvas3D::reset_volumes()
|
||||
return;
|
||||
#endif // !ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
|
||||
m_volumes.release_geometry();
|
||||
m_volumes.clear();
|
||||
#if ENABLE_EXTENDED_SELECTION
|
||||
m_selection.clear();
|
||||
#endif // ENABLE_EXTENDED_SELECTION
|
||||
m_volumes.release_geometry();
|
||||
m_volumes.clear();
|
||||
m_dirty = true;
|
||||
}
|
||||
|
||||
|
@ -234,9 +234,9 @@ Slic3r::GUI::PageShp Tab::add_options_page(const wxString& title, const std::str
|
||||
icon_idx = (m_icon_index.find(icon) == m_icon_index.end()) ? -1 : m_icon_index.at(icon);
|
||||
if (icon_idx == -1) {
|
||||
// Add a new icon to the icon list.
|
||||
const auto img_icon = new wxIcon(from_u8(Slic3r::var(icon)), wxBITMAP_TYPE_PNG);
|
||||
m_icons->Add(*img_icon);
|
||||
icon_idx = ++m_icon_count;
|
||||
wxIcon img_icon(from_u8(Slic3r::var(icon)), wxBITMAP_TYPE_PNG);
|
||||
m_icons->Add(img_icon);
|
||||
icon_idx = ++m_icon_count;
|
||||
m_icon_index[icon] = icon_idx;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user