diff options
author | Justin Clark-Casey (justincc) | 2011-09-01 23:09:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-01 23:09:14 +0100 |
commit | e30651b9315c121d57d8c4077cf6bdfccb83aa68 (patch) | |
tree | 154c2676ea1975d09652479c86a413cc7b44cff0 /OpenSim/Region | |
parent | Remove pointless NRE check in IAM.RezObject() since this can never occur (diff) | |
download | opensim-SC_OLD-e30651b9315c121d57d8c4077cf6bdfccb83aa68.zip opensim-SC_OLD-e30651b9315c121d57d8c4077cf6bdfccb83aa68.tar.gz opensim-SC_OLD-e30651b9315c121d57d8c4077cf6bdfccb83aa68.tar.bz2 opensim-SC_OLD-e30651b9315c121d57d8c4077cf6bdfccb83aa68.tar.xz |
use group.RootPart in IAM.RezObject() rather than group.GetChildPart(group.UUID);
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 76a1cd0..e0ff5a8 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -865,7 +865,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
865 | group.SetFromItemID(itemID); | 865 | group.SetFromItemID(itemID); |
866 | } | 866 | } |
867 | 867 | ||
868 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); | 868 | SceneObjectPart rootPart = group.RootPart; |
869 | 869 | ||
870 | // Since renaming the item in the inventory does not | 870 | // Since renaming the item in the inventory does not |
871 | // affect the name stored in the serialization, transfer | 871 | // affect the name stored in the serialization, transfer |