From: buliabyak Date: Mon, 29 May 2006 01:39:13 +0000 (+0000) Subject: add to current layer, not root X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f02949fa69c47c3200cd26d48583a3bf1ce854e8;p=inkscape.git add to current layer, not root --- diff --git a/share/extensions/eqtexsvg.py b/share/extensions/eqtexsvg.py index 4232268af..4a0589fb1 100644 --- a/share/extensions/eqtexsvg.py +++ b/share/extensions/eqtexsvg.py @@ -55,7 +55,7 @@ def svg_open(self,filename): svg_lines.pop(len(svg_lines)-1) group = self.document.createElement('svg:g') - self.document.documentElement.appendChild(group) + self.current_layer.appendChild(group) # deleting "" "" "" from svg_lines nodegroup='' diff --git a/share/extensions/interp.py b/share/extensions/interp.py index 7e5407e6a..ba8d8d7f4 100755 --- a/share/extensions/interp.py +++ b/share/extensions/interp.py @@ -290,7 +290,7 @@ class Interp(inkex.Effect): steps = [0] + steps + [1] #create an interpolated path for each interval group = self.document.createElement('svg:g') - self.document.documentElement.appendChild(group) + self.current_layer.appendChild(group) for time in steps: interp = [] #process subpaths