diff options
author | Justin Clark-Casey (justincc) | 2012-10-25 03:26:12 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-25 03:26:12 +0100 |
commit | c13a99dc5cc82efac5497dab27dcb6b0d9865cea (patch) | |
tree | d9384f7104a9b38b333b682cd782b095c1bf1df2 /OpenSim/Tests/Common/Mock | |
parent | Get osNpcCreate() and osNpcLoadAppearance() to generate a script error if app... (diff) | |
download | opensim-SC_OLD-c13a99dc5cc82efac5497dab27dcb6b0d9865cea.zip opensim-SC_OLD-c13a99dc5cc82efac5497dab27dcb6b0d9865cea.tar.gz opensim-SC_OLD-c13a99dc5cc82efac5497dab27dcb6b0d9865cea.tar.bz2 opensim-SC_OLD-c13a99dc5cc82efac5497dab27dcb6b0d9865cea.tar.xz |
Fix script error messages not showing up in viewer 3 and associated viewers.
Viewer 3 will discard such a message if the chat message owner does not match the avatar.
We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages.
This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages.
This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index bb8b935..dde37ab 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -528,13 +528,9 @@ namespace OpenSim.Tests.Common.Mock | |||
528 | { | 528 | { |
529 | } | 529 | } |
530 | 530 | ||
531 | public virtual void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, | 531 | public virtual void SendChatMessage( |
532 | UUID fromAgentID, byte source, byte audible) | 532 | string message, byte type, Vector3 fromPos, string fromName, |
533 | { | 533 | UUID fromAgentID, UUID ownerID, byte source, byte audible) |
534 | } | ||
535 | |||
536 | public virtual void SendChatMessage(byte[] message, byte type, Vector3 fromPos, string fromName, | ||
537 | UUID fromAgentID, byte source, byte audible) | ||
538 | { | 534 | { |
539 | } | 535 | } |
540 | 536 | ||