diff options
author | UbitUmarov | 2012-02-10 23:03:30 +0000 |
---|---|---|
committer | UbitUmarov | 2012-02-10 23:03:30 +0000 |
commit | e3f5fd81f1bdcccb5fb0cad75d85bf1f733667d7 (patch) | |
tree | 0fff77027caf8e6ba723489c45e0cf1cb77bb0ec /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Changes to vehicles code etc. Includes some debug aids to remove later. (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC_OLD-e3f5fd81f1bdcccb5fb0cad75d85bf1f733667d7.zip opensim-SC_OLD-e3f5fd81f1bdcccb5fb0cad75d85bf1f733667d7.tar.gz opensim-SC_OLD-e3f5fd81f1bdcccb5fb0cad75d85bf1f733667d7.tar.bz2 opensim-SC_OLD-e3f5fd81f1bdcccb5fb0cad75d85bf1f733667d7.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitwork
Conflicts:
prebuild.xml
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 2a3d735..9961438 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2377,6 +2377,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2377 | // "[SCENE OBJECT GROUP]: Linking group with root part {0}, {1} to group with root part {2}, {3}", | 2377 | // "[SCENE OBJECT GROUP]: Linking group with root part {0}, {1} to group with root part {2}, {3}", |
2378 | // objectGroup.RootPart.Name, objectGroup.RootPart.UUID, RootPart.Name, RootPart.UUID); | 2378 | // objectGroup.RootPart.Name, objectGroup.RootPart.UUID, RootPart.Name, RootPart.UUID); |
2379 | 2379 | ||
2380 | // Linking to ourselves is not a valid operation. | ||
2381 | if (objectGroup == this) | ||
2382 | return; | ||
2383 | |||
2380 | SceneObjectPart linkPart = objectGroup.m_rootPart; | 2384 | SceneObjectPart linkPart = objectGroup.m_rootPart; |
2381 | 2385 | ||
2382 | Vector3 oldGroupPosition = linkPart.GroupPosition; | 2386 | Vector3 oldGroupPosition = linkPart.GroupPosition; |