add some needed InvalidBoundsRadius() calls

This commit is contained in:
UbitUmarov
2016-07-06 16:45:27 +01:00
parent c02fe98b7d
commit 0eabfb1e3e
2 changed files with 20 additions and 5 deletions

View File

@@ -867,6 +867,8 @@ namespace OpenSim.Region.Framework.Scenes
if (ParentGroup != null && !ParentGroup.IsDeleted)
{
ParentGroup.InvalidBoundsRadius();
PhysicsActor actor = PhysActor;
if (ParentID != 0 && actor != null)
{
@@ -1165,7 +1167,8 @@ namespace OpenSim.Region.Framework.Scenes
{
m_shape.Scale = value;
if (ParentGroup != null)
ParentGroup.InvalidBoundsRadius();
PhysicsActor actor = PhysActor;
if (actor != null)
{