diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 1a591ee..76a1cd0 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -865,21 +865,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
865 | group.SetFromItemID(itemID); | 865 | group.SetFromItemID(itemID); |
866 | } | 866 | } |
867 | 867 | ||
868 | SceneObjectPart rootPart = null; | 868 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); |
869 | |||
870 | try | ||
871 | { | ||
872 | rootPart = group.GetChildPart(group.UUID); | ||
873 | } | ||
874 | catch (NullReferenceException) | ||
875 | { | ||
876 | string isAttachment = ""; | ||
877 | |||
878 | if (attachment) | ||
879 | isAttachment = " Object was an attachment"; | ||
880 | |||
881 | m_log.Error("[AGENT INVENTORY]: Error rezzing ItemID: " + itemID + " object has no rootpart." + isAttachment); | ||
882 | } | ||
883 | 869 | ||
884 | // Since renaming the item in the inventory does not | 870 | // Since renaming the item in the inventory does not |
885 | // affect the name stored in the serialization, transfer | 871 | // affect the name stored in the serialization, transfer |