mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
fix a error message
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user