aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTom Grimshaw2010-07-13 15:32:35 -0700
committerTom Grimshaw2010-07-13 15:32:35 -0700
commitc5891c14c7547dc0cbbf1bd5bf3a0d2923616f25 (patch)
treef192c4a2a9ef4d517f7a3ba191b7758ca94da2a2
parentSecond part of the fix for llGetLocalPos; get attachment offset in the root p... (diff)
downloadopensim-SC-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.zip
opensim-SC-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.tar.gz
opensim-SC-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.tar.bz2
opensim-SC-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.tar.xz
Bail out in AttachToBackup if the group is an attachment
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index f85d3d9..7053c02 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -679,6 +679,7 @@ namespace OpenSim.Region.Framework.Scenes
679 /// </summary> 679 /// </summary>
680 public virtual void AttachToBackup() 680 public virtual void AttachToBackup()
681 { 681 {
682 if (IsAttachment) return;
682 m_scene.SceneGraph.FireAttachToBackup(this); 683 m_scene.SceneGraph.FireAttachToBackup(this);
683 684
684 if (InSceneBackup) 685 if (InSceneBackup)