OK - new bzr patch attached. It's still not 100%, but should be OK for open paths now (fixes issue #1). I still need to dig into issue #2 a bit to see if I can reliably determine if there are extra nodes to be removed. The method I'm using now seems a bit hacky.
At any rate, this patch should cause paths to keep the 'closed' command (Z), whether they were made from shape or drawing tools.
OK - new bzr patch attached. It's still not 100%, but should be OK for open paths now (fixes issue #1). I still need to dig into issue #2 a bit to see if I can reliably determine if there are extra nodes to be removed. The method I'm using now seems a bit hacky.
At any rate, this patch should cause paths to keep the 'closed' command (Z), whether they were made from shape or drawing tools.