Esempio n. 1
0
 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();
   }
 }
Esempio n. 2
0
  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();
    }
  }