mantis 8035: fix number of prims use to be from all owned parcels

0.9.1.0-post-fixes
UbitUmarov 2018-11-08 21:52:16 +00:00
parent fe63b4c97d
commit 492b9e3326
1 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,6 @@ namespace OpenSim.Region.OptionalModules
private bool CanRezObject(int objectCount, UUID ownerID, Vector3 objectPosition)
{
ILandObject lo = m_scene.LandChannel.GetLandObject(objectPosition.X, objectPosition.Y);
string response = DoCommonChecks(objectCount, ownerID, lo);
@ -200,7 +199,7 @@ namespace OpenSim.Region.OptionalModules
string response = null;
int OwnedParcelsCapacity = lo.GetSimulatorMaxPrimCount();
if ((objectCount + lo.PrimCounts.Total) > OwnedParcelsCapacity)
if ((objectCount + lo.PrimCounts.Simulator) > OwnedParcelsCapacity)
{
response = "Unable to rez object because the parcel is full";
}