aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2013-06-11 21:01:58 +0100
committerMelanie2013-06-11 21:01:58 +0100
commit400f876d98d71ba8480ab5b3af040c4bae7c5009 (patch)
tree1444058a9f65e43bb481693d5bb361fe4788311b /OpenSim/Region/Framework/Scenes
parentMerge branch 'master' into careminster (diff)
parent* Adds KeyFrameMotion storage support to SQLite, just a note, seems that ... (diff)
downloadopensim-SC-400f876d98d71ba8480ab5b3af040c4bae7c5009.zip
opensim-SC-400f876d98d71ba8480ab5b3af040c4bae7c5009.tar.gz
opensim-SC-400f876d98d71ba8480ab5b3af040c4bae7c5009.tar.bz2
opensim-SC-400f876d98d71ba8480ab5b3af040c4bae7c5009.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 8c6450d..f13f7ab 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -822,7 +822,8 @@ namespace OpenSim.Region.Framework.Scenes
822 } 822 }
823 823
824 // Tell the physics engines that this prim changed. 824 // Tell the physics engines that this prim changed.
825 ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); 825 if (ParentGroup != null && ParentGroup.Scene != null && ParentGroup.Scene.PhysicsScene != null)
826 ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor);
826 } 827 }
827 catch (Exception e) 828 catch (Exception e)
828 { 829 {
@@ -940,7 +941,7 @@ namespace OpenSim.Region.Framework.Scenes
940 //m_log.Info("[PART]: RO2:" + actor.Orientation.ToString()); 941 //m_log.Info("[PART]: RO2:" + actor.Orientation.ToString());
941 } 942 }
942 943
943 if (ParentGroup != null) 944 if (ParentGroup != null && ParentGroup.Scene != null && ParentGroup.Scene.PhysicsScene != null)
944 ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor); 945 ParentGroup.Scene.PhysicsScene.AddPhysicsActorTaint(actor);
945 //} 946 //}
946 } 947 }