only add a prim to physics in PhysicsShapeType if changing from type none. when viewers change ExtraPhysics parameters, send back the new values.

This commit is contained in:
UbitUmarov
2016-11-02 21:42:32 +00:00
parent 7c4f2b048f
commit 9480da06b9
3 changed files with 51 additions and 65 deletions

View File

@@ -1660,7 +1660,7 @@ namespace OpenSim.Region.Framework.Scenes
if (part != null)
{
part.UpdateExtraPhysics(PhysData);
if (part.UpdatePhysRequired && remoteClient != null)
if (remoteClient != null)
remoteClient.SendPartPhysicsProprieties(part);
}
}