Example #1
0
 private void RenewPrimitive()
 {
     //If the prim is not editable create a new primitive in world and set it up to look like the old primitive
     _obj = _factory.RenewObject(_id, _pos);
     if (_obj == null)
     {
         return;
     }
     Name     = _name;
     Shape    = _shape;
     Colour   = _colour;
     Rotation = _rot;
     Glow     = _glow;
     Scale    = _scale;
     if (_OnWorldTouch != null)
     {
         _obj.OnTouch += TriggerTouched;
     }
 }