Skip to content
Commit c06d7763 authored by Volker Krause's avatar Volker Krause
Browse files

Protect nodes adjacent to synthetic clip nodes during node reduction

This is to avoid ending up with a synthetic-only line that client-side
geometry assembly might drop entirely, and thus distorting the original
shape.

Example: An 'L'-shaped line with the knee of the L barely extending into
a separate tile. Previously we might have dropped the node at the knee
there and only retained the two synthetic clip nodes at the tile border.
When reassembling this with the two legs of the L that segment can get
removed, resulting in a diagonal line between the two ends of the L.

With this change we retain the knee node, no matter how close it might
be to the clip node, and thus geometry reassembly managed to restore the
proper shape.
parent 7ad5be92
Pipeline #161308 passed with stage
in 7 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment