# HG changeset patch # User wycc # Date 1297708337 -28800 # Node ID a48df5d53ddc95b1de3d03b9bb2b88d12a51f653 # Parent ac61d86987aff46d7b8e87ed7624e33c125027df If the target is a svg:use, we should not update the opacity since it should use the origin value instead. diff -r ac61d86987af -r a48df5d53ddc pyink/tween.py --- a/pyink/tween.py Sun Feb 13 14:41:42 2011 +0800 +++ b/pyink/tween.py Tue Feb 15 02:32:17 2011 +0800 @@ -209,6 +209,8 @@ pass def _update_tween_style(self, s, d, p, newobj): + if d.name() == 'svg:use': + return try: s_style = s.getAttribute('style') except: