From ffc0badaf439139180bca9ed8f478ddabe7c7608 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 15 Jun 2012 15:18:57 +0200 Subject: Reapply the one change that was in the revert that was actually function, not form --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 959d928..fe85118 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2370,7 +2370,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // scene PhysicsActor pa = part.PhysActor; - if (pa != null && !pa.IsPhysical) + if (pa != null && !pa.IsPhysical && part == part.ParentGroup.RootPart) { part.ParentGroup.ResetChildPrimPhysicsPositions(); } -- cgit v1.1