diff options
author | Sean Dague | 2008-03-05 18:57:13 +0000 |
---|---|---|
committer | Sean Dague | 2008-03-05 18:57:13 +0000 |
commit | 4ea52b2105491d417a978e903f6926fd58bd890a (patch) | |
tree | 404a17b5649c823d9f46f7c88d204fc0ebe1832a /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | * New Terrain Module (disabled, search for 'usingTerrainModule = false' to re... (diff) | |
download | opensim-SC-4ea52b2105491d417a978e903f6926fd58bd890a.zip opensim-SC-4ea52b2105491d417a978e903f6926fd58bd890a.tar.gz opensim-SC-4ea52b2105491d417a978e903f6926fd58bd890a.tar.bz2 opensim-SC-4ea52b2105491d417a978e903f6926fd58bd890a.tar.xz |
Change SceneObjectPart.LocalID to .LocalId to be case matching
with SceneObjectGroup.LocalId (and hence reduce confusion).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 8481737..14a6f7b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -186,7 +186,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
186 | } | 186 | } |
187 | 187 | ||
188 | // Retrieve item | 188 | // Retrieve item |
189 | TaskInventoryItem item = group.GetInventoryItem(part.LocalID, itemId); | 189 | TaskInventoryItem item = group.GetInventoryItem(part.LocalId, itemId); |
190 | if (null == item) | 190 | if (null == item) |
191 | { | 191 | { |
192 | return; | 192 | return; |
@@ -206,8 +206,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
206 | // Trigger rerunning of script (use TriggerRezScript event, see RezScript) | 206 | // Trigger rerunning of script (use TriggerRezScript event, see RezScript) |
207 | if (isScriptRunning) | 207 | if (isScriptRunning) |
208 | { | 208 | { |
209 | group.StopScript(part.LocalID, item.ItemID); | 209 | group.StopScript(part.LocalId, item.ItemID); |
210 | group.StartScript(part.LocalID, item.ItemID); | 210 | group.StartScript(part.LocalId, item.ItemID); |
211 | } | 211 | } |
212 | } | 212 | } |
213 | 213 | ||