diff options
author | Melanie Thielker | 2008-11-29 07:05:33 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-29 07:05:33 +0000 |
commit | e1153394c1346bd3741590c17ab38c735384e642 (patch) | |
tree | 697d4cd70f328f0b35a019f62ea2112b966209a5 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Try to prevent attachments twisting/moving (diff) | |
download | opensim-SC_OLD-e1153394c1346bd3741590c17ab38c735384e642.zip opensim-SC_OLD-e1153394c1346bd3741590c17ab38c735384e642.tar.gz opensim-SC_OLD-e1153394c1346bd3741590c17ab38c735384e642.tar.bz2 opensim-SC_OLD-e1153394c1346bd3741590c17ab38c735384e642.tar.xz |
Stop attachments from twisting away. Thismakes attachments phantom, which
is the proper way to handle this
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index c67d994..c8285a3 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2173,6 +2173,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2173 | if (sp != null) | 2173 | if (sp != null) |
2174 | parentLocalID = sp.LocalId; | 2174 | parentLocalID = sp.LocalId; |
2175 | 2175 | ||
2176 | sceneObject.RootPart.IsAttachment = true; | ||
2176 | sceneObject.RootPart.SetParentLocalId(parentLocalID); | 2177 | sceneObject.RootPart.SetParentLocalId(parentLocalID); |
2177 | 2178 | ||
2178 | AddRestoredSceneObject(sceneObject, false, false); | 2179 | AddRestoredSceneObject(sceneObject, false, false); |