summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAlexander Gavriliuk <gavriliuk@gmail.com>2024-11-06 00:30:56 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2024-11-06 00:50:46 +0100
commit228937571ecdb7335e2ebf5de76aa256280b0bd5 (patch)
tree0655fe0c23b55db3d6493aefb4820e3c2c92c0b1 /indra
parente37996269d8d874c73b4de22f965a1db4a4c75aa (diff)
#2902 Additional lines are displayed from one corner of the region
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llviewerparceloverlay.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewerparceloverlay.cpp b/indra/newview/llviewerparceloverlay.cpp
index 019e870829..5b26f9f031 100755
--- a/indra/newview/llviewerparceloverlay.cpp
+++ b/indra/newview/llviewerparceloverlay.cpp
@@ -559,8 +559,7 @@ void LLViewerParcelOverlay::addPropertyLine(F32 start_x, F32 start_y, F32 dx, F3
{
F32 new_x = start[VX] + (x - start[VX]) * part;
F32 new_y = start[VY] + (y - start[VY]) * part;
- F32 new_z = start[VZ] + (z - start[VZ]) * part;
- edge.pushVertex(lod, new_x, new_y, new_z, water_z);
+ edge.pushVertex(lod, new_x, new_y, water_z, 0);
};
auto checkForSplit = [&](U32 lod)
@@ -624,7 +623,6 @@ void LLViewerParcelOverlay::addPropertyLine(F32 start_x, F32 start_y, F32 dx, F3
// Point G simplified (last two vertices)
move(LINE_WIDTH);
- checkForSplit(1);
pushTwoVertices(1);
// Point G detailized (only one vertex)