aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
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
2370 // scene 2370 // scene
2371 PhysicsActor pa = part.PhysActor; 2371 PhysicsActor pa = part.PhysActor;
2372 2372
2373 if (pa != null && !pa.IsPhysical) 2373 if (pa != null && !pa.IsPhysical && part == part.ParentGroup.RootPart)
2374 { 2374 {
2375 part.ParentGroup.ResetChildPrimPhysicsPositions(); 2375 part.ParentGroup.ResetChildPrimPhysicsPositions();
2376 } 2376 }