mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Add group prim count support to land properties
This commit is contained in:
@@ -827,6 +827,11 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
{
|
||||
landData.OwnerPrims += prim_count;
|
||||
}
|
||||
else if (obj.GroupID == landData.GroupID ||
|
||||
prim_owner == landData.GroupID)
|
||||
{
|
||||
landData.GroupPrims += prim_count;
|
||||
}
|
||||
else
|
||||
{
|
||||
landData.OtherPrims += prim_count;
|
||||
@@ -850,7 +855,8 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
{
|
||||
landData.OwnerPrims -= prim_count;
|
||||
}
|
||||
else if (prim_owner == landData.GroupID)
|
||||
else if (obj.GroupID == landData.GroupID ||
|
||||
prim_owner == landData.GroupID)
|
||||
{
|
||||
landData.GroupPrims -= prim_count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user