Fixed synchronization between Objects List and Object manipulator table

This commit is contained in:
Enrico Turri 2019-01-28 15:50:02 +01:00
parent a32839260f
commit 1c0bc8a5f3
3 changed files with 41 additions and 41 deletions

View file

@ -1617,6 +1617,11 @@ void GLCanvas3D::Selection::clear()
_update_type();
m_bounding_box_dirty = true;
#if ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION
// resets the cache in the sidebar
wxGetApp().obj_manipul()->reset_cache();
#endif // ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION
}
// Update the selection based on the map from old indices to new indices after m_volumes changed.