From f02949fa69c47c3200cd26d48583a3bf1ce854e8 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 29 May 2006 01:39:13 +0000 Subject: [PATCH] add to current layer, not root --- share/extensions/eqtexsvg.py | 2 +- share/extensions/interp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2