From: acspike Date: Sun, 28 May 2006 04:07:13 +0000 (+0000) Subject: put fretboards into the current layer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bc4de8e007920e95fc854ffef71e8035c22ae219;p=inkscape.git put fretboards into the current layer --- diff --git a/share/extensions/fretfind.py b/share/extensions/fretfind.py index a2ce6c961..14da7819d 100755 --- a/share/extensions/fretfind.py +++ b/share/extensions/fretfind.py @@ -152,7 +152,7 @@ class FretFind(inkex.Effect): group = self.document.createElement('svg:g') group.setAttribute('transform',"scale(%s,%s)" % (self.options.pxperunit,self.options.pxperunit)) - self.document.documentElement.appendChild(group) + self.current_layer.appendChild(group) edge = self.document.createElement('svg:path') s = {'stroke-linejoin': 'miter', 'stroke-width': '0.01px',