# HG changeset patch # User wycc # Date 1293461872 -28800 # Node ID ad9c44a08645d8ab1109c60512bc856f1dc65fb5 # Parent 5db4d769387ce895e7c4cb1efa849f5e5779fc49 If an object does not exist in the destination group, we should duplicate it. diff -r 5db4d769387c -r ad9c44a08645 pyink/tween.py --- a/pyink/tween.py Mon Dec 27 22:54:37 2010 +0800 +++ b/pyink/tween.py Mon Dec 27 22:57:52 2010 +0800 @@ -7,7 +7,7 @@ TWEEN_TYPE_NORMAL = 0 TWEEN_TYPE_RELOCATE = 1 TWEEN_TYPE_SCALE = 2 - + def __init__(self,doc,dom): self.document = doc self.dom = dom @@ -78,6 +78,9 @@ try: stop_node = stop_nodes[start_node_id] except KeyError: + self.updateTweenObject(duplicate_group, tween_type, + start_node, start_node, + percent, dup_node) start_node = start_node.next() continue