Mercurial > MadButterfly
changeset 1167:6160e6282252
The object is duplicated inside the tween generator.
author | wycc |
---|---|
date | Thu, 30 Dec 2010 11:11:34 +0800 |
parents | 2cb5047d8f2b |
children | be1f15701770 |
files | pyink/tween.py |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pyink/tween.py Wed Dec 29 00:33:48 2010 +0800 +++ b/pyink/tween.py Thu Dec 30 11:11:34 2010 +0800 @@ -87,9 +87,9 @@ try: stop_node = stop_nodes[start_node_id] except KeyError: - self.updateTweenObject(duplicate_group, tween_type, - start_node, start_node, - percent, dup_node) + #self.updateTweenObject(duplicate_group, tween_type, + # start_node, start_node, + # percent, dup_node) start_node = start_node.next() continue @@ -196,6 +196,7 @@ newobj = s.duplicate(self.document) top = self.document.createElement("svg:g") top.setAttribute("ref",s.getAttribute("id")) + top.setAttribute("inkscape:label","dup") top.appendChild(newobj) obj.appendChild(top) else: