Remove an unnecessary perms check. This caused prim movement to be disabled

on parcels that had prim entry turned off. This needs to be reintroduced
with proper parcel boundary checks.
0.6.0-stable
Melanie Thielker 2008-10-06 05:23:48 +00:00
parent 78073fa440
commit 195893b06d
1 changed files with 1 additions and 14 deletions

View File

@ -1137,13 +1137,6 @@ namespace OpenSim.Region.Environment.Scenes
SceneObjectGroup group = GetGroupByPrim(localID);
if (group != null)
{
// Vector3 oldPos = group.AbsolutePosition;
if (!m_parentScene.ExternalChecks.ExternalChecksCanObjectEntry(group.UUID,pos) && !group.RootPart.IsAttachment)
{
group.SendGroupTerseUpdate();
return;
}
if (m_parentScene.ExternalChecks.ExternalChecksCanMoveObject(group.UUID, remoteClient.AgentId) || group.RootPart.IsAttachment)
{
group.UpdateSinglePosition(pos, localID);
@ -1170,13 +1163,7 @@ namespace OpenSim.Region.Environment.Scenes
}
else
{
if (!m_parentScene.ExternalChecks.ExternalChecksCanObjectEntry(group.UUID,pos) && !group.RootPart.IsAttachment)
{
group.SendGroupTerseUpdate();
return;
}
if (m_parentScene.ExternalChecks.ExternalChecksCanMoveObject(group.UUID, remoteClient.AgentId) || group.RootPart.IsAttachment)
if (m_parentScene.ExternalChecks.ExternalChecksCanMoveObject(group.UUID, remoteClient.AgentId) || group.RootPart.IsAttachment)
{
group.UpdateGroupPosition(pos);
}