Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Fix open polyline clipping#18

Open
hannukp wants to merge 1 commit intolightbringer:masterfrom
hannukp:fix-polyline-clipping
Open

Fix open polyline clipping#18
hannukp wants to merge 1 commit intolightbringer:masterfrom
hannukp:fix-polyline-clipping

Conversation

@hannukp
Copy link

@hannukp hannukp commented Mar 10, 2022

Fixed to match original C# code (lines 1561-), fixes clipping of open polylines:

          foreach (OutRec outRec in m_PolyOuts)
          {
            if (outRec.Pts == null) 
                continue;
            else if (outRec.IsOpen)
                FixupOutPolyline(outRec);
            else
                FixupOutPolygon(outRec);
          }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant