summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-05 17:31:08 +0000
committerjabiertxof <jabier.arraiza@marker.es>2015-10-05 17:31:08 +0000
commit44ae7c50e34299df6798b0268a9bf6e39d33cfa4 (patch)
tree5a385cb854b383d8a3bec9ab062d531d14a2be82
parentAdd redraw to meassure when use toolbar (diff)
parentextensions. guillotine.py. fix Bug 1502041 (diff)
downloadinkscape-44ae7c50e34299df6798b0268a9bf6e39d33cfa4.tar.gz
inkscape-44ae7c50e34299df6798b0268a9bf6e39d33cfa4.zip
update to trunk
(bzr r14393.1.7)
-rwxr-xr-xshare/extensions/guillotine.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/guillotine.py b/share/extensions/guillotine.py
index bd077d60a..15a0fba96 100755
--- a/share/extensions/guillotine.py
+++ b/share/extensions/guillotine.py
@@ -88,11 +88,11 @@ class Guillotine(inkex.Effect):
for g in xpath:
guide = {}
(x, y) = g.attrib['position'].split(',')
- if g.attrib['orientation'] == '0,1':
+ if g.attrib['orientation'][:2] == '0,':
guide['orientation'] = 'horizontal'
guide['position'] = y
guides.append(guide)
- elif g.attrib['orientation'] == '1,0':
+ elif g.attrib['orientation'][-2:] == ',0':
guide['orientation'] = 'vertical'
guide['position'] = x
guides.append(guide)