bugfix, dont ignore translate for initial relative move
This commit is contained in:
parent
8c11669e7f
commit
0ff8eb39c9
1 changed files with 3 additions and 0 deletions
|
@ -239,6 +239,9 @@ proc transform*(path: var Path, mat: Mat3) =
|
||||||
if mat == mat3():
|
if mat == mat3():
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if path.commands.len > 0 and path.commands[0].kind == RMove:
|
||||||
|
path.commands[0].kind = Move
|
||||||
|
|
||||||
for command in path.commands.mitems:
|
for command in path.commands.mitems:
|
||||||
var mat = mat
|
var mat = mat
|
||||||
if command.kind.isRelative():
|
if command.kind.isRelative():
|
||||||
|
|
Loading…
Reference in a new issue