Prevent multiple requests to go physical from reaching the physics plugin
parent
4358bb8f85
commit
86f786d673
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue