# HG changeset patch # User wycc # Date 1295142309 -28800 # Node ID 71118bff7d61a7f9251cd7594bb84af3e8d75c90 # Parent 082fff7e960414117a447143504e3fcd86bb860e CHange the wrong append to appendCHild diff -r 082fff7e9604 -r 71118bff7d61 pyink/MBScene.py --- a/pyink/MBScene.py Sat Jan 15 23:07:29 2011 +0800 +++ b/pyink/MBScene.py Sun Jan 16 09:45:09 2011 +0800 @@ -126,7 +126,6 @@ self._domviewui.tween(layer_idx, start, tween_len, tween_type) # Create a key frame which link to the previous key frame - scene_group = self._domviewui.get_key_group(layer_idx, start) self._domviewui.mark_key(layer_idx, frame_idx) self._domviewui.clone_key_group(layer_idx, start, frame_idx) self._director.show_scene(frame_idx) diff -r 082fff7e9604 -r 71118bff7d61 pyink/domview.py --- a/pyink/domview.py Sat Jan 15 23:07:29 2011 +0800 +++ b/pyink/domview.py Sun Jan 16 09:45:09 2011 +0800 @@ -774,7 +774,7 @@ dst_child.setAttribute('id', dst_child_id) dst_child.setAttribute('xlink:href', '#' + src_child_id) dst_child.setAttribute('ns0:duplicate-src', src_child_id) - dst_group.append(child) + dst_group.appendChild(dst_child) pass pass pass