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
parent
78073fa440
commit
195893b06d
|
@ -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,12 +1163,6 @@ 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)
|
||||
{
|
||||
group.UpdateGroupPosition(pos);
|
||||
|
|
Loading…
Reference in New Issue