示例#1
0
 /// <summary>
 /// Only called by the MainLoop. Displays new green auras over the newly created part when a part is shift copied.
 /// </summary>
 private void ObjectDuplicated(CMModel model, CMView view, uint localId)
 {
     if ((m_state & State.SHOWING_CHANGES) > 0)
     {
         view.DisplayAuras(model.CheckForNewEntitiesMissingAuras(GetGroupByPrim(localId).Scene));
     }
 }
示例#2
0
        /// <summary>
        /// Only called by the MainLoop.
        /// </summary>
        private void ObjectAttributeChanged(CMModel model, CMView view, uint LocalId)
        {
            SceneObjectGroup group = null;

            if ((m_state & State.SHOWING_CHANGES) > 0)
            {
                group = GetGroupByPrim(LocalId);
                if (group != null)
                {
                    view.DisplayAuras(model.UpdateNormalEntityEffects(group)); //Might be a normal entity (green aura)
                    m_view.DisplayMetaEntity(group.UUID);                      //Might be a meta entity (blue aura)
                }
            }
        }
示例#3
0
 /// <summary>
 /// Only called by the MainLoop. Displays new green auras over the newly created part when a part is shift copied.
 /// </summary>
 private void ObjectDuplicated(CMModel model, CMView view, uint localId)
 {
     if ((m_state & State.SHOWING_CHANGES) > 0)
         view.DisplayAuras(model.CheckForNewEntitiesMissingAuras(GetGroupByPrim(localId).Scene));
 }
示例#4
0
 /// <summary>
 /// Only called by the MainLoop.
 /// </summary>
 private void ObjectAttributeChanged(CMModel model, CMView view, uint LocalId)
 {
     SceneObjectGroup group = null;
     if ((m_state & State.SHOWING_CHANGES) > 0)
     {
         group = GetGroupByPrim(LocalId);
         if (group != null)
         {
             view.DisplayAuras(model.UpdateNormalEntityEffects(group)); //Might be a normal entity (green aura)
             m_view.DisplayMetaEntity(group.UUID); //Might be a meta entity (blue aura)
         }
     }
 }