Allow selecting group objects and selecting objects by owner from the
parcel dialog.0.6.1-post-fixes
parent
e9ad6f7913
commit
46278b34b1
|
@ -664,12 +664,17 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||||
}
|
}
|
||||||
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_GROUP && obj.GroupID == landData.GroupID && landData.GroupID != UUID.Zero)
|
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_GROUP && obj.GroupID == landData.GroupID && landData.GroupID != UUID.Zero)
|
||||||
{
|
{
|
||||||
|
resultLocalIDs.Add(obj.LocalId);
|
||||||
}
|
}
|
||||||
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_OTHER &&
|
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_OTHER &&
|
||||||
obj.OwnerID != remote_client.AgentId)
|
obj.OwnerID != remote_client.AgentId)
|
||||||
{
|
{
|
||||||
resultLocalIDs.Add(obj.LocalId);
|
resultLocalIDs.Add(obj.LocalId);
|
||||||
}
|
}
|
||||||
|
else if (request_type == (int)ObjectReturnType.List && returnIDs.Contains(obj.OwnerID))
|
||||||
|
{
|
||||||
|
resultLocalIDs.Add(obj.LocalId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue