Code

Fix for bug LP #308183 (Measure Path text shifted when used with a copied object).
authorJazzyNico <JazzyNico@users.sourceforge.net>
Mon, 10 Aug 2009 20:55:57 +0000 (20:55 +0000)
committerJazzyNico <JazzyNico@users.sourceforge.net>
Mon, 10 Aug 2009 20:55:57 +0000 (20:55 +0000)
share/extensions/measure.py

index 4537736496f3c12384a4fb02d7b87ff0739b1085..8eacd40c602f245105e085502c9858437a6f099b 100644 (file)
@@ -116,8 +116,10 @@ class Length(inkex.Effect):
                 self.group = inkex.etree.SubElement(node.getparent(),inkex.addNS('text','svg'))
                 
                 t = node.get('transform')
-                if t:
-                    self.group.set('transform', t)
+                # Removed to fix LP #308183 
+                # (Measure Path text shifted when used with a copied object)
+                #if t:
+                #    self.group.set('transform', t)
 
 
                 a =[]