Prevent multiple requests to go physical from reaching the physics plugin

This commit is contained in:
Melanie
2012-05-30 16:10:01 +02:00
parent 4358bb8f85
commit 86f786d673

View File

@@ -1312,6 +1312,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (!allow)
return;
if (m_host.ParentGroup.RootPart.PhysActor != null &&
m_host.ParentGroup.RootPart.PhysActor.IsPhysical)
return;
m_host.ScriptSetPhysicsStatus(true);
}
else