diff options
author | Justin Clark-Casey (justincc) | 2012-03-31 01:52:06 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-31 01:52:06 +0100 |
commit | 32a953fed727fdadd65228b7c9282091da3521ac (patch) | |
tree | 014a128df31336fddcb9be1243f3f255f7d30b6f /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing Con... (diff) | |
download | opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.zip opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.tar.gz opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.tar.bz2 opensim-SC_OLD-32a953fed727fdadd65228b7c9282091da3521ac.tar.xz |
refactor: Rename SOG.GetChildPart() to GetPart() since it can also return the 'root' part.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 71a9084..f7e123b 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -623,7 +623,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
623 | 623 | ||
624 | group.ResetIDs(); | 624 | group.ResetIDs(); |
625 | 625 | ||
626 | SceneObjectPart rootPart = group.GetChildPart(group.UUID); | 626 | SceneObjectPart rootPart = group.GetPart(group.UUID); |
627 | 627 | ||
628 | // Since renaming the item in the inventory does not affect the name stored | 628 | // Since renaming the item in the inventory does not affect the name stored |
629 | // in the serialization, transfer the correct name from the inventory to the | 629 | // in the serialization, transfer the correct name from the inventory to the |