diff options
author | Tom Grimshaw | 2010-07-13 15:32:35 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-07-13 15:32:35 -0700 |
commit | c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25 (patch) | |
tree | f192c4a2a9ef4d517f7a3ba191b7758ca94da2a2 /OpenSim/Region/Framework/Scenes | |
parent | Second part of the fix for llGetLocalPos; get attachment offset in the root p... (diff) | |
download | opensim-SC_OLD-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.zip opensim-SC_OLD-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.tar.gz opensim-SC_OLD-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.tar.bz2 opensim-SC_OLD-c5891c14c7547dc0cbbf1bd5bf3a0d2923616f25.tar.xz |
Bail out in AttachToBackup if the group is an attachment
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 1 |
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) |