diff options
author | Justin Clark-Casey (justincc) | 2014-02-24 19:20:50 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-02-24 19:20:50 +0000 |
commit | fd1b2a1c574a3397383a91279d56cece81945547 (patch) | |
tree | 6495d78f4904a835805b0177dbea87960cd93ee4 /OpenSim/Tests/Common/Mock | |
parent | Make Scene.DefaultDrawDistance to be the max of the region size and the (diff) | |
download | opensim-SC_OLD-fd1b2a1c574a3397383a91279d56cece81945547.zip opensim-SC_OLD-fd1b2a1c574a3397383a91279d56cece81945547.tar.gz opensim-SC_OLD-fd1b2a1c574a3397383a91279d56cece81945547.tar.bz2 opensim-SC_OLD-fd1b2a1c574a3397383a91279d56cece81945547.tar.xz |
Stop mesh avatars that specify the alpha texture in their bake slots from causing the simulator to continually request that they rebake
This is because the alpha texture is not in the cache, we must continue to have the fallback of looking for these and other persisted bakes in the asset service.
Relates to http://opensimulator.org/mantis/view.php?id=6927
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index a4247e3..09ff531 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -63,6 +63,7 @@ namespace OpenSim.Tests.Common.Mock | |||
63 | public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour; | 63 | public event Action<ulong, IPEndPoint> OnTestClientInformClientOfNeighbour; |
64 | public event TestClientOnSendRegionTeleportDelegate OnTestClientSendRegionTeleport; | 64 | public event TestClientOnSendRegionTeleportDelegate OnTestClientSendRegionTeleport; |
65 | public event Action<GridInstantMessage> OnReceivedInstantMessage; | 65 | public event Action<GridInstantMessage> OnReceivedInstantMessage; |
66 | public event Action<UUID> OnReceivedSendRebakeAvatarTextures; | ||
66 | 67 | ||
67 | public delegate void TestClientOnSendRegionTeleportDelegate( | 68 | public delegate void TestClientOnSendRegionTeleportDelegate( |
68 | ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, | 69 | ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, |
@@ -1227,6 +1228,8 @@ namespace OpenSim.Tests.Common.Mock | |||
1227 | 1228 | ||
1228 | public void SendRebakeAvatarTextures(UUID textureID) | 1229 | public void SendRebakeAvatarTextures(UUID textureID) |
1229 | { | 1230 | { |
1231 | if (OnReceivedSendRebakeAvatarTextures != null) | ||
1232 | OnReceivedSendRebakeAvatarTextures(textureID); | ||
1230 | } | 1233 | } |
1231 | 1234 | ||
1232 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | 1235 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) |