diff options
author | Melanie | 2012-08-29 11:46:57 +0200 |
---|---|---|
committer | Melanie | 2012-08-29 11:46:57 +0200 |
commit | f7a60261e9f987ac5c1a1666a2a8ebef2f13c33d (patch) | |
tree | 32cb53e053ade4561ab1ab867bb4f9803d99ca4a /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Make llCollisionSprite not throw anymore (diff) | |
parent | Fix issue with the quit packet being stuck int he queue and a one packet delay. (diff) | |
download | opensim-SC-f7a60261e9f987ac5c1a1666a2a8ebef2f13c33d.zip opensim-SC-f7a60261e9f987ac5c1a1666a2a8ebef2f13c33d.tar.gz opensim-SC-f7a60261e9f987ac5c1a1666a2a8ebef2f13c33d.tar.bz2 opensim-SC-f7a60261e9f987ac5c1a1666a2a8ebef2f13c33d.tar.xz |
Merge branch 'ubitwork' into avination
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 ed626d0..bf5fc99 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -769,7 +769,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
769 | { | 769 | { |
770 | m_groupPosition = value; | 770 | m_groupPosition = value; |
771 | PhysicsActor actor = PhysActor; | 771 | PhysicsActor actor = PhysActor; |
772 | if (actor != null) | 772 | if (actor != null && ParentGroup.Scene.PhysicsScene != null) |
773 | { | 773 | { |
774 | try | 774 | try |
775 | { | 775 | { |
@@ -3408,6 +3408,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3408 | /// </summary> | 3408 | /// </summary> |
3409 | public void SendTerseUpdateToAllClients() | 3409 | public void SendTerseUpdateToAllClients() |
3410 | { | 3410 | { |
3411 | if (ParentGroup == null || ParentGroup.Scene == null) | ||
3412 | return; | ||
3413 | |||
3411 | ParentGroup.Scene.ForEachClient(delegate(IClientAPI client) | 3414 | ParentGroup.Scene.ForEachClient(delegate(IClientAPI client) |
3412 | { | 3415 | { |
3413 | SendTerseUpdateToClient(client); | 3416 | SendTerseUpdateToClient(client); |