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.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 03f4108..2700495 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1272,6 +1272,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1272 if (!allow) 1272 if (!allow)
1273 return; 1273 return;
1274 1274
1275 if (m_host.ParentGroup.RootPart.PhysActor != null &&
1276 m_host.ParentGroup.RootPart.PhysActor.IsPhysical)
1277 return;
1278
1275 m_host.ScriptSetPhysicsStatus(true); 1279 m_host.ScriptSetPhysicsStatus(true);
1276 } 1280 }
1277 else 1281 else