summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wüst <sebi@timewaster.de>2013-07-14 20:00:32 +0000
committerSebastian Wüst <sebi@timewaster.de>2013-07-14 20:00:32 +0000
commit180b2dcb9d669d5fcf96547ed1a22f77e64bd79a (patch)
tree69849a335693ffbccf1da2884951aab5b51a787b
parentmade process_path more readable (diff)
downloadinkscape-180b2dcb9d669d5fcf96547ed1a22f77e64bd79a.tar.gz
inkscape-180b2dcb9d669d5fcf96547ed1a22f77e64bd79a.zip
small bugfixes
(bzr r12417.1.11)
-rw-r--r--share/extensions/hpgl_encoder.py2
-rw-r--r--share/extensions/plotter.inx2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/hpgl_encoder.py b/share/extensions/hpgl_encoder.py
index d6605d829..b53f61109 100644
--- a/share/extensions/hpgl_encoder.py
+++ b/share/extensions/hpgl_encoder.py
@@ -122,6 +122,7 @@ class hpglEncoder:
self.process_path(node, groupmat[-1])
if node.tag == inkex.addNS('g', 'svg'):
self.process_group(node, groupmat)
+ groupmat.pop()
def process_path(self, node, mat):
# process path
@@ -163,7 +164,6 @@ class hpglEncoder:
oldPosX = posX
oldPosY = posY
- # TODO:2013-07-13:Sebastian Wüst:Find methods from the existing classes to replace the next 4 methods.
def getLength(self, x1, y1, x2, y2, abs = True):
# calc absoulute or relative length between two points
if abs: return math.fabs(math.sqrt((x2 - x1) ** 2.0 + (y2 - y1) ** 2.0))
diff --git a/share/extensions/plotter.inx b/share/extensions/plotter.inx
index 0dc5a35fc..ebf675a85 100644
--- a/share/extensions/plotter.inx
+++ b/share/extensions/plotter.inx
@@ -60,7 +60,7 @@
<param name="offsetY" type="float" min="-10000.0" max="10000.0" precision="2" _gui-text="Y offset (mm)" _gui-description="The offset to move your plot away from the zero point in mm (Default: '0.00')">0.00</param>
</page>
</param>
- <effect needs-live-preview="true">
+ <effect needs-live-preview="false">
<object-type>path</object-type>
<effects-menu>
<submenu _name="Plotter"/>