diff options
| author | Alexander Gavriliuk <gavriliuk@gmail.com> | 2024-11-06 00:30:56 +0100 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-05 20:39:43 +0200 |
| commit | 11e16d5ae73ec7dd0a738cb5ee2a8d2457176409 (patch) | |
| tree | 7ea331e4a4715d8b6383c765f74fcdf4dadda404 /indra/newview | |
| parent | 852e31b6ff639489a199a54029fd10198d134cbd (diff) | |
#2902 Additional lines are displayed from one corner of the region
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/llviewerparceloverlay.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewerparceloverlay.cpp b/indra/newview/llviewerparceloverlay.cpp index 63bcd82798..e023dffc03 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) |
