aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-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 eb68038..ea78dc3 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1312,6 +1312,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1312 if (!allow) 1312 if (!allow)
1313 return; 1313 return;
1314 1314
1315 if (m_host.ParentGroup.RootPart.PhysActor != null &&
1316 m_host.ParentGroup.RootPart.PhysActor.IsPhysical)
1317 return;
1318
1315 m_host.ScriptSetPhysicsStatus(true); 1319 m_host.ScriptSetPhysicsStatus(true);
1316 } 1320 }
1317 else 1321 else