diff options
author | Adam Frisby | 2007-07-24 05:38:21 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-24 05:38:21 +0000 |
commit | b9af2fe393d92b8bd8b30025e0c66aa0d031f52b (patch) | |
tree | 6e4e42b6c470f203e3d0c2bd12f68d59bd0c1d0d /OpenSim/Region/ClientStack | |
parent | * Small fix, patch values should be multiplied by their size (16) (diff) | |
download | opensim-SC-b9af2fe393d92b8bd8b30025e0c66aa0d031f52b.zip opensim-SC-b9af2fe393d92b8bd8b30025e0c66aa0d031f52b.tar.gz opensim-SC-b9af2fe393d92b8bd8b30025e0c66aa0d031f52b.tar.bz2 opensim-SC-b9af2fe393d92b8bd8b30025e0c66aa0d031f52b.tar.xz |
* SendLayerData overload including coords now uses patch number rather than coords directly.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 956f2b4..2f5c5c3 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -323,8 +323,8 @@ namespace OpenSim.Region.ClientStack | |||
323 | { | 323 | { |
324 | int[] patches = new int[1]; | 324 | int[] patches = new int[1]; |
325 | int patchx, patchy; | 325 | int patchx, patchy; |
326 | patchx = px / 16; | 326 | patchx = px; |
327 | patchy = py / 16; | 327 | patchy = py; |
328 | 328 | ||
329 | patches[0] = patchx + 0 + patchy * 16; | 329 | patches[0] = patchx + 0 + patchy * 16; |
330 | 330 | ||