aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
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);