diff options
author | Justin Clarke Casey | 2008-05-24 23:11:07 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-24 23:11:07 +0000 |
commit | 0ee69707ea8c0948b79aeba5dbe078fe28dc6482 (patch) | |
tree | d470d18bdac7f6be37103710400bb4deb8f9871b /OpenSim/Region/Examples/SimpleModule | |
parent | * Refactor: Remove some unused methods in Scene/InnerScene (diff) | |
download | opensim-SC_OLD-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.zip opensim-SC_OLD-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.tar.gz opensim-SC_OLD-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.tar.bz2 opensim-SC_OLD-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.tar.xz |
* Refactor: Collapse some multiple remove object paths
* Push some delete functionality into InnerScene to match what's already there for adding objects
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs index 87a5ffc..d83bba6 100644 --- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs +++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | |||
@@ -126,7 +126,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
126 | if (m_parts.Count == 1) | 126 | if (m_parts.Count == 1) |
127 | { | 127 | { |
128 | m_parts.Remove(m_rootPart.UUID); | 128 | m_parts.Remove(m_rootPart.UUID); |
129 | m_scene.RemoveSceneObject(this); | 129 | m_scene.DeleteSceneObject(this); |
130 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); | 130 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); |
131 | remoteClient.AddMoney(50); | 131 | remoteClient.AddMoney(50); |
132 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | 132 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |