summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-08-05 20:10:02 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-08-05 20:10:02 +0000
commit8f5e0a07c0ed63f5b8e056c714ca2a8de6403a0b (patch)
treec624b8e4caf25247df25b87573b2e3f481b61eaa /share
parentFix bug on apply effect from pen/pencil toolbar (diff)
parentFix some transform problems in Bend path. (diff)
downloadinkscape-8f5e0a07c0ed63f5b8e056c714ca2a8de6403a0b.tar.gz
inkscape-8f5e0a07c0ed63f5b8e056c714ca2a8de6403a0b.zip
update to trunk
(bzr r14272.1.3)
Diffstat (limited to 'share')
-rwxr-xr-xshare/extensions/guides_creator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/guides_creator.py b/share/extensions/guides_creator.py
index 77ece2e36..a8c7bb18a 100755
--- a/share/extensions/guides_creator.py
+++ b/share/extensions/guides_creator.py
@@ -297,8 +297,8 @@ class Guides_Creator(inkex.Effect):
svg = self.document.getroot()
# getting the width and height attributes of the canvas
- width = self.unittouu(svg.get('width'))/self.unittouu('1px')
- height = self.unittouu(svg.get('height'))/self.unittouu('1px')
+ width = self.unittouu(svg.get('width'))
+ height = self.unittouu(svg.get('height'))
# getting edges coordinates
h_orientation = '0,' + str(round(width,4))