changeset 1192:79a3f82edaac

Fix issue of losing keyframe after inerst a node in the scene
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 02 Jan 2011 14:18:48 +0800
parents 6442fb198418
children 0e3a65b7b00c
files pyink/MBScene.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/MBScene.py	Sun Jan 02 13:53:38 2011 +0800
+++ b/pyink/MBScene.py	Sun Jan 02 14:18:48 2011 +0800
@@ -532,12 +532,12 @@
 			continue
 		    
 		    try:
-			label = scene.getAttribute('inkscape:label')
+			label = scene_group.getAttribute('inkscape:label')
 			if label == 'dup':
 			    # TODO: remove this since this functio is for
 			    #       parsing.  Why do this here?
 			    node.removeChild(scene_group)
-			    pass
+			    continue
 		    except:
 			pass