lifelike / countersheetsextension

Inkscape extension for the layout of sheets of cards, tiles, or counters for boardgames.
Other
233 stars 27 forks source link

Registration marks not removed #30

Closed lifelike closed 6 years ago

lifelike commented 6 years ago

Setting registration marks length to nothing in the effect dialog does not remove registration marks. They use some default length that they should not have.

apcshields commented 6 years ago

In my case, it appears to honor non-zero values, but attempting to set registration mark length to 0 results in this error:

Traceback (most recent call last): File "countersheet.py", line 1912, in <module> effect.affect() File "/usr/share/inkscape/extensions/inkex.py", line 283, in affect self.effect() File "countersheet.py", line 1307, in effect positions[box], layer, backlayer, docwidth) File "countersheet.py", line 984, in addregistrationmarks position.y - linelen)) TypeError: Argument 'element' has incorrect type (expected lxml.etree._Element, got NoneType)

Ubuntu 17.10 Inkscape 0.92.2 countersheetsextension 2.1pre2

lifelike commented 6 years ago

That is even worse. Thanks for reporting!

lifelike commented 6 years ago

Fixed registration marks (and also the outline marks) having some problems with not having values set.