aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-01 23:09:14 +0100
committerJustin Clark-Casey (justincc)2011-09-01 23:09:14 +0100
commite30651b9315c121d57d8c4077cf6bdfccb83aa68 (patch)
tree154c2676ea1975d09652479c86a413cc7b44cff0
parentRemove pointless NRE check in IAM.RezObject() since this can never occur (diff)
downloadopensim-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);
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs2
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