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/Examples | |
parent | * New Terrain Module (disabled, search for 'usingTerrainModule = false' to re... (diff) | |
download | opensim-SC_OLD-4ea52b2105491d417a978e903f6926fd58bd890a.zip opensim-SC_OLD-4ea52b2105491d417a978e903f6926fd58bd890a.tar.gz opensim-SC_OLD-4ea52b2105491d417a978e903f6926fd58bd890a.tar.bz2 opensim-SC_OLD-4ea52b2105491d417a978e903f6926fd58bd890a.tar.xz |
Change SceneObjectPart.LocalID to .LocalId to be case matching
with SceneObjectGroup.LocalId (and hence reduce confusion).
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/ComplexObject.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/ComplexObject.cs b/OpenSim/Region/Examples/SimpleApp/ComplexObject.cs index aa3f939..c09ed89 100644 --- a/OpenSim/Region/Examples/SimpleApp/ComplexObject.cs +++ b/OpenSim/Region/Examples/SimpleApp/ComplexObject.cs | |||
@@ -95,7 +95,7 @@ namespace SimpleApp | |||
95 | public override void OnGrabPart(SceneObjectPart part, LLVector3 offsetPos, IClientAPI remoteClient) | 95 | public override void OnGrabPart(SceneObjectPart part, LLVector3 offsetPos, IClientAPI remoteClient) |
96 | { | 96 | { |
97 | m_parts.Remove(part.UUID); | 97 | m_parts.Remove(part.UUID); |
98 | remoteClient.SendKillObject(m_regionHandle, part.LocalID); | 98 | remoteClient.SendKillObject(m_regionHandle, part.LocalId); |
99 | remoteClient.AddMoney(1); | 99 | remoteClient.AddMoney(1); |
100 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero); | 100 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", LLUUID.Zero); |
101 | } | 101 | } |
@@ -106,7 +106,7 @@ namespace SimpleApp | |||
106 | { | 106 | { |
107 | m_parts.Remove(m_rootPart.UUID); | 107 | m_parts.Remove(m_rootPart.UUID); |
108 | m_scene.RemoveEntity(this); | 108 | m_scene.RemoveEntity(this); |
109 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalID); | 109 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); |
110 | remoteClient.AddMoney(50); | 110 | remoteClient.AddMoney(50); |
111 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero); | 111 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero); |
112 | } | 112 | } |