diff options
author | Melanie | 2009-09-01 01:53:54 +0100 |
---|---|---|
committer | Melanie | 2009-09-01 01:53:54 +0100 |
commit | e458a87e91090ce94c31f6cc2f049dcda28600de (patch) | |
tree | 0fc63d09425242b383a3244633e41660f739a3cf /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Merge branch 'master' of ssh://MyConnection/var/git/opensim (diff) | |
download | opensim-SC-e458a87e91090ce94c31f6cc2f049dcda28600de.zip opensim-SC-e458a87e91090ce94c31f6cc2f049dcda28600de.tar.gz opensim-SC-e458a87e91090ce94c31f6cc2f049dcda28600de.tar.bz2 opensim-SC-e458a87e91090ce94c31f6cc2f049dcda28600de.tar.xz |
Experimental. Set attachment flag early on rezzing from inventory.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 650fc7e..b4887c2 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2015,7 +2015,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2015 | group.ResetIDs(); | 2015 | group.ResetIDs(); |
2016 | 2016 | ||
2017 | if (attachment) | 2017 | if (attachment) |
2018 | { | ||
2018 | group.RootPart.ObjectFlags |= (uint)PrimFlags.Phantom; | 2019 | group.RootPart.ObjectFlags |= (uint)PrimFlags.Phantom; |
2020 | group.IsAttachment = true; | ||
2021 | } | ||
2019 | 2022 | ||
2020 | AddNewSceneObject(group, true); | 2023 | AddNewSceneObject(group, true); |
2021 | 2024 | ||