Skip to content

Commit 2289375

Browse files
GavriliukLLGuru
authored andcommitted
#2902 Additional lines are displayed from one corner of the region
1 parent e379962 commit 2289375

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

indra/newview/llviewerparceloverlay.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,7 @@ void LLViewerParcelOverlay::addPropertyLine(F32 start_x, F32 start_y, F32 dx, F3
559559
{
560560
F32 new_x = start[VX] + (x - start[VX]) * part;
561561
F32 new_y = start[VY] + (y - start[VY]) * part;
562-
F32 new_z = start[VZ] + (z - start[VZ]) * part;
563-
edge.pushVertex(lod, new_x, new_y, new_z, water_z);
562+
edge.pushVertex(lod, new_x, new_y, water_z, 0);
564563
};
565564

566565
auto checkForSplit = [&](U32 lod)
@@ -624,7 +623,6 @@ void LLViewerParcelOverlay::addPropertyLine(F32 start_x, F32 start_y, F32 dx, F3
624623

625624
// Point G simplified (last two vertices)
626625
move(LINE_WIDTH);
627-
checkForSplit(1);
628626
pushTwoVertices(1);
629627

630628
// Point G detailized (only one vertex)

0 commit comments

Comments
 (0)