Multiline Offset - Closed lines

An inverse result is produced when the line that is being offset is closed.

Please consider changing this behavior so that the result is the same whether the line is closed or not.


Also (doesn’t seem to be related to closed/not closed) the routine intermittently produces double backing line at corners as shown below (orange line w/ flags). There is nothing obviously wrong with the purple source line (0 or short segments or similar) that I can see and the behavior is intermittent as mentioned.

manually corrected: