Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions l0/ASSFoundation/Parser/Drawing.moon
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ return (ASS, ASSFInst, yutilsMissingMsg, createASSClass, Functional, LineCollect
p += 1
continue

-- skip repeats of the same drawing command after ordinate pairs
if (p - skippedOrdCnt) % 2 == 1 and cmdMap[prm] == prevCmdType
p += 1
skippedOrdCnt += 1
prmCnt += 1
continue

-- process ordinates that failed to cast to a number

-- either the command or the the drawing is truncated
Expand Down