One cannot call abs_cmd with cpx or cpy being nil. This should be a fix.
Correct me if I'm wrong.
local function abs_path(path)
local t = {}
local cpx, cpy, spx, spy = 0, 0 -- HERE
for i,s in commands(path) do
cpx, cpy, spx, spy = add_abs_cmd(t, cpx, cpy, spx, spy, abs_cmd(cpx, cpy, cmd(path, i)))
end
return t
end
Original issue reported on code.google.com by kuba.trz...@gmail.com on 6 Jul 2013 at 5:18
Original issue reported on code.google.com by
kuba.trz...@gmail.com
on 6 Jul 2013 at 5:18