From d0afd4335c517d9a675708f8bf83b5d217c0e36f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 11 Jun 2017 22:32:56 +0100 Subject: fix a error message --- OpenSim/Region/Framework/Scenes/SceneGraph.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 96b8c8b..b51c169 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs @@ -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(); } } -- cgit v1.1