diff options
author | UbitUmarov | 2016-07-06 16:45:27 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-06 16:45:27 +0100 |
commit | 0eabfb1e3ed0de10b89cca62446bf72461fd7a2e (patch) | |
tree | 4aefcb764b639d24b83be10194907ee2db8065d1 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | add test option ObjectsCullingByDistance. In future, if true, it may (diff) | |
download | opensim-SC_OLD-0eabfb1e3ed0de10b89cca62446bf72461fd7a2e.zip opensim-SC_OLD-0eabfb1e3ed0de10b89cca62446bf72461fd7a2e.tar.gz opensim-SC_OLD-0eabfb1e3ed0de10b89cca62446bf72461fd7a2e.tar.bz2 opensim-SC_OLD-0eabfb1e3ed0de10b89cca62446bf72461fd7a2e.tar.xz |
add some needed InvalidBoundsRadius() calls
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 445a6db..3d6a4c8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -867,6 +867,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
867 | 867 | ||
868 | if (ParentGroup != null && !ParentGroup.IsDeleted) | 868 | if (ParentGroup != null && !ParentGroup.IsDeleted) |
869 | { | 869 | { |
870 | ParentGroup.InvalidBoundsRadius(); | ||
871 | |||
870 | PhysicsActor actor = PhysActor; | 872 | PhysicsActor actor = PhysActor; |
871 | if (ParentID != 0 && actor != null) | 873 | if (ParentID != 0 && actor != null) |
872 | { | 874 | { |
@@ -1165,7 +1167,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1165 | { | 1167 | { |
1166 | 1168 | ||
1167 | m_shape.Scale = value; | 1169 | m_shape.Scale = value; |
1168 | 1170 | if (ParentGroup != null) | |
1171 | ParentGroup.InvalidBoundsRadius(); | ||
1169 | PhysicsActor actor = PhysActor; | 1172 | PhysicsActor actor = PhysActor; |
1170 | if (actor != null) | 1173 | if (actor != null) |
1171 | { | 1174 | { |