void instanceDetach(const scene::Path& path) { if(--m_instanceCounter.m_count == 0) { m_entity.detach(m_keyObservers); m_entity.instanceDetach(path_find_mapfile(path.begin(), path.end())); m_filter.instanceDetach(); } }
void instanceDetach(const scene::Path& path) { if(--m_instanceCounter.m_count == 0) { m_funcStaticOrigin.disable(); m_traverse.instanceDetach(path_find_mapfile(path.begin(), path.end())); m_entity.instanceDetach(path_find_mapfile(path.begin(), path.end())); m_filter.instanceDetach(); } }