bugfix, dont ignore translate for initial relative move

This commit is contained in:
Ryan Oldenburg 2021-04-28 22:27:52 -05:00
parent 8c11669e7f
commit 0ff8eb39c9

View file

@ -239,6 +239,9 @@ proc transform*(path: var Path, mat: Mat3) =
if mat == mat3():
return
if path.commands.len > 0 and path.commands[0].kind == RMove:
path.commands[0].kind = Move
for command in path.commands.mitems:
var mat = mat
if command.kind.isRelative():