From a6df626868c9715288b2ef025efe18a015256a74 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Fri, 23 Sep 2016 13:03:16 +0100
Subject: add a version tag to wind and cloud data updates to iclient
---
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
(limited to 'OpenSim/Region/ClientStack/Linden')
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 2d337f1..15f1004 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -1379,16 +1379,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// Send the wind matrix to the client
///
/// 16x16 array of wind speeds
+/*
public virtual void SendWindData(Vector2[] windSpeeds)
{
Util.FireAndForget(DoSendWindData, windSpeeds, "LLClientView.SendWindData");
+ DoSendWindData(windSpeeds);
}
-
+*/
///
/// Send the cloud matrix to the client
///
/// 16x16 array of cloud densities
- public virtual void SendCloudData(float[] cloudDensity)
+ public virtual void SendCloudData(int version, float[] cloudDensity)
{
Util.FireAndForget(DoSendCloudData, cloudDensity, "LLClientView.SendCloudData");
}
@@ -1397,9 +1399,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// Send wind layer information to the client.
///
///
- private void DoSendWindData(object o)
+// private void DoSendWindData(object o)
+ public virtual void SendWindData(int version, Vector2[] windSpeeds)
{
- Vector2[] windSpeeds = (Vector2[])o;
+// Vector2[] windSpeeds = (Vector2[])o;
TerrainPatch[] patches = new TerrainPatch[2];
patches[0] = new TerrainPatch { Data = new float[16 * 16] };
patches[1] = new TerrainPatch { Data = new float[16 * 16] };
--
cgit v1.1