fix a error message

0.9.0-post-fixes
UbitUmarov 2017-06-11 22:32:56 +01:00
parent 5e83c2e422
commit d0afd4335c
1 changed files with 5 additions and 2 deletions

View File

@ -1661,8 +1661,11 @@ namespace OpenSim.Region.Framework.Scenes
if (wantedPhys != group.UsesPhysics && remoteClient != null)
{
remoteClient.SendAlertMessage("Object physics canceled because exceeds the limit of " +
m_parentScene.m_linksetPhysCapacity + " physical prims with shape type not set to None");
if(m_parentScene.m_linksetPhysCapacity != 0)
remoteClient.SendAlertMessage("Object physics canceled because exceeds limits for physical prims, either size or number of primswith shape type not set to None");
else
remoteClient.SendAlertMessage("Object physics canceled because exceeds size limits for physical prims");
group.RootPart.ScheduleFullUpdate();
}
}