aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-20 01:48:51 +0000
committerMelanie Thielker2008-08-20 01:48:51 +0000
commitf206ffd5a8cd0ef362e972abf7375eb739f82e5b (patch)
treee05c17a865f02beecddbe2c9c04705bc08c03db1 /OpenSim/Region/Examples
parentRemove trailing whitespace in prebuild.xml. (diff)
downloadopensim-SC_OLD-f206ffd5a8cd0ef362e972abf7375eb739f82e5b.zip
opensim-SC_OLD-f206ffd5a8cd0ef362e972abf7375eb739f82e5b.tar.gz
opensim-SC_OLD-f206ffd5a8cd0ef362e972abf7375eb739f82e5b.tar.bz2
opensim-SC_OLD-f206ffd5a8cd0ef362e972abf7375eb739f82e5b.tar.xz
Mantis #2003 - thank you, SachaMagne, for a patch that implements
the first part of gesture persistence. ---------------------------------------------------------- Attachments no longer vanish on walking crossing. Teleport is still problematic, but will now be blocked with message "Inconsistent attachment state" rather than losing the attachment. Detach to be able to TP in that case.
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 61ea966..e2e7081 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -207,6 +207,10 @@ namespace OpenSim.Region.Examples.SimpleModule
207 public event RegionHandleRequest OnRegionHandleRequest; 207 public event RegionHandleRequest OnRegionHandleRequest;
208 public event ParcelInfoRequest OnParcelInfoRequest; 208 public event ParcelInfoRequest OnParcelInfoRequest;
209 209
210 public event ActivateGesture OnActivateGesture;
211 public event DeactivateGesture OnDeactivateGesture;
212
213
210#pragma warning restore 67 214#pragma warning restore 67
211 215
212 private LLUUID myID = LLUUID.Random(); 216 private LLUUID myID = LLUUID.Random();
@@ -295,6 +299,11 @@ namespace OpenSim.Region.Examples.SimpleModule
295 get { return m_scene; } 299 get { return m_scene; }
296 } 300 }
297 301
302 public virtual void ActivateGesture(LLUUID assetId, LLUUID gestureId)
303 {
304 }
305
306
298 public virtual void OutPacket(Packet newPack, ThrottleOutPacketType packType) 307 public virtual void OutPacket(Packet newPack, ThrottleOutPacketType packType)
299 { 308 {
300 } 309 }