예제 #1
0
        // Old uuid and new sceneobjectgroup
        public ContentManagementEntity CreateNewEntity(SceneObjectGroup group)
        {
            ContentManagementEntity ent = new ContentManagementEntity(group, false);

            m_CMEntityHash.Add(group.UUID, ent);
            return(ent);
        }
예제 #2
0
 public bool AddAura(ContentManagementEntity aura)
 {
     if (m_NewlyCreatedEntityAura.ContainsKey(aura.UUID))
     {
         return(false);
     }
     m_NewlyCreatedEntityAura.Add(aura.UUID, aura);
     return(true);
 }
예제 #3
0
        public void DisplayMetaEntity(UUID uuid)
        {
            ContentManagementEntity group = m_model.GetMetaGroupByPrim(uuid);

            if (group != null)
            {
                group.SendFullDiffUpdateToAll();
            }
        }
예제 #4
0
 public bool AddEntity(ContentManagementEntity ent)
 {
     if (m_CMEntityHash.ContainsKey(ent.UUID))
     {
         return(false);
     }
     m_CMEntityHash.Add(ent.UUID, ent);
     return(true);
 }
예제 #5
0
 /// <summary>
 /// Only called by the MainLoop.
 /// </summary>
 private void UndoDid(CMModel model, CMView view, UUID uuid)
 {
     if ((m_state & State.SHOWING_CHANGES) > 0)
     {
         ContentManagementEntity ent = model.FindMetaEntityAffectedByUndo(uuid);
         if (ent != null)
         {
             view.DisplayEntity(ent);
         }
     }
 }
예제 #6
0
        public ContentManagementEntity CreateNewEntity(String xml, Scene scene)
        {
            ContentManagementEntity ent = new ContentManagementEntity(xml, scene, false);

            if (ent == null)
            {
                return(null);
            }
            m_CMEntityHash.Add(ent.UnchangedEntity.UUID, ent);
            return(ent);
        }
예제 #7
0
 public bool AddAura(ContentManagementEntity aura)
 {
     if (m_NewlyCreatedEntityAura.ContainsKey(aura.UUID))
         return false;
     m_NewlyCreatedEntityAura.Add(aura.UUID, aura);
     return true;
 }
예제 #8
0
 public ContentManagementEntity CreateNewEntity(String xml, Scene scene)
 {
     ContentManagementEntity ent = new ContentManagementEntity(xml, scene, false);
     if (ent == null)
         return null;
     m_CMEntityHash.Add(ent.UnchangedEntity.UUID, ent);
     return ent;
 }
예제 #9
0
 // Old uuid and new sceneobjectgroup
 public ContentManagementEntity CreateNewEntity(SceneObjectGroup group)
 {
     ContentManagementEntity ent = new ContentManagementEntity(group, false);
     m_CMEntityHash.Add(group.UUID, ent);
     return ent;
 }
예제 #10
0
 public bool AddEntity(ContentManagementEntity ent)
 {
     if (m_CMEntityHash.ContainsKey(ent.UUID))
         return false;
     m_CMEntityHash.Add(ent.UUID, ent);
     return true;
 }
예제 #11
0
 public void Hide(ContentManagementEntity ent)
 {
     ent.HideFromAll();
 }
예제 #12
0
 // Entity to ALL
 public void DisplayEntity(ContentManagementEntity ent)
 {
     ent.SendFullDiffUpdateToAll();
 }
예제 #13
0
        public ContentManagementEntity FindMetaEntityAffectedByUndo(UUID uuid)
        {
            ContentManagementEntity ent = GetMetaGroupByPrim(uuid);

            return(ent);
        }
예제 #14
0
 public void Hide(ContentManagementEntity ent)
 {
     ent.HideFromAll();
 }
예제 #15
0
 // Entity to ALL
 public void DisplayEntity(ContentManagementEntity ent)
 {
     ent.SendFullDiffUpdateToAll();
 }