* Don't save attachments on saving oar, which stops them coming back as ghost prims0.6.0-stable
parent
388c053dcb
commit
b03e34dd2d
|
@ -4129,6 +4129,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
handlerApproveFriendRequest(this, agentID, transactionID, callingCardFolders);
|
||||
}
|
||||
break;
|
||||
|
||||
case PacketType.TerminateFriendship:
|
||||
TerminateFriendshipPacket tfriendpack = (TerminateFriendshipPacket)Pack;
|
||||
UUID listOwnerAgentID = tfriendpack.AgentData.AgentID;
|
||||
|
@ -4140,22 +4141,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
handlerTerminateFriendship(this, listOwnerAgentID, exFriendID);
|
||||
}
|
||||
break;
|
||||
|
||||
case PacketType.RezObject:
|
||||
RezObjectPacket rezPacket = (RezObjectPacket)Pack;
|
||||
|
||||
handlerRezObject = OnRezObject;
|
||||
if (handlerRezObject != null)
|
||||
{
|
||||
//rezPacket.RezData.BypassRaycast;
|
||||
//rezPacket.RezData.RayEnd;
|
||||
//rezPacket.RezData.RayEndIsIntersection;
|
||||
//rezPacket.RezData.RayStart;
|
||||
//rezPacket.RezData.RayTargetID;
|
||||
//rezPacket.RezData.RemoveItem;
|
||||
//rezPacket.RezData.RezSelected;
|
||||
//rezPacket.RezData.FromTaskID;
|
||||
//m_log.Info("[REZData]: " + rezPacket.ToString());
|
||||
|
||||
handlerRezObject(this, rezPacket.InventoryData.ItemID, rezPacket.RezData.RayEnd,
|
||||
rezPacket.RezData.RayStart, rezPacket.RezData.RayTargetID,
|
||||
rezPacket.RezData.BypassRaycast, rezPacket.RezData.RayEndIsIntersection,
|
||||
|
@ -4163,6 +4155,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
rezPacket.RezData.FromTaskID);
|
||||
}
|
||||
break;
|
||||
|
||||
case PacketType.DeRezObject:
|
||||
DeRezObjectPacket DeRezPacket = (DeRezObjectPacket) Pack;
|
||||
handlerDeRezObject = OnDeRezObject;
|
||||
|
@ -4178,6 +4171,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case PacketType.ModifyLand:
|
||||
ModifyLandPacket modify = (ModifyLandPacket)Pack;
|
||||
//m_log.Info("[LAND]: LAND:" + modify.ToString());
|
||||
|
|
|
@ -293,9 +293,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
{
|
||||
CloseCircuit(reusedEpSender, e);
|
||||
}
|
||||
catch (Exception a)
|
||||
catch (Exception e2)
|
||||
{
|
||||
m_log.Error("[UDPSERVER]: " + a);
|
||||
m_log.ErrorFormat(
|
||||
"[CLIENT]: Exception thrown when trying to close the circuit for {0} - {1}", reusedEpSender, e2);
|
||||
}
|
||||
|
||||
// ENDLESS LOOP ON PURPOSE!
|
||||
|
|
|
@ -273,7 +273,12 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
|
|||
foreach (EntityBase entity in entities)
|
||||
{
|
||||
if (entity is SceneObjectGroup)
|
||||
sceneObjects.Add((SceneObjectGroup)entity);
|
||||
{
|
||||
SceneObjectGroup sceneObject = (SceneObjectGroup)entity;
|
||||
|
||||
if (sceneObject.RootPart != null && !sceneObject.RootPart.IsAttachment)
|
||||
sceneObjects.Add((SceneObjectGroup)entity);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (SceneObjectGroup sceneObject in sceneObjects)
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Signals whether this group was in a scene but has since been deleted from it.
|
||||
/// Signals whether this entity was in a scene but has since been removed from it.
|
||||
/// </summary>
|
||||
public bool IsDeleted
|
||||
{
|
||||
|
|
|
@ -741,7 +741,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
m_scene.PhysicsScene.RemovePrim(m_rootPart.PhysActor);
|
||||
m_rootPart.PhysActor = null;
|
||||
|
||||
}
|
||||
|
||||
AbsolutePosition = AttachOffset;
|
||||
|
|
Loading…
Reference in New Issue