mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Prevent multiple requests to go physical from reaching the physics plugin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user