Mercurial > MadButterfly
diff pyink/frameline.py @ 1131:3ec0ad89e443
Fix the mtraix animation.
author | wycc |
---|---|
date | Sat, 18 Dec 2010 23:50:43 +0800 |
parents | b65ac686a7c5 |
children | 6586cd10c92f |
line wrap: on
line diff
--- a/pyink/frameline.py Sat Dec 18 10:00:01 2010 +0800 +++ b/pyink/frameline.py Sat Dec 18 23:50:43 2010 +0800 @@ -659,21 +659,21 @@ if key.right_tween is True: ss = rdoc.createElement("ns0:scene") node.appendChild(ss) - ss.setAttribute("start", str(key.idx+1),True) - ss.setAttribute("ref",key.ref.attribute("id"),True) - ss.setAttribute("end", str(self._keys[i+1].idx+1),True) + ss.setAttribute("start", str(key.idx+1)) + ss.setAttribute("ref",key.ref.attribute("id")) + ss.setAttribute("end", str(self._keys[i+1].idx+1)) if self._keys[i].right_tween_type == self._tween_type_none: - ss.setAttribute("type", "normal", True) + ss.setAttribute("type", "normal") elif self._keys[i].right_tween_type == self._tween_type_move: - ss.setAttribute("type", "relocate", True) + ss.setAttribute("type", "relocate") elif self._keys[i].right_tween_type == self._tween_type_shape: - ss.setAttribute("type", "scale", True) + ss.setAttribute("type", "scale") else: ss = rdoc.createElement("ns0:scene") node.appendChild(ss) - ss.setAttribute("start", str(key.idx+1),True) - ss.setAttribute("ref",key.ref.attribute("id"),True) - ss.setAttribute("type", "normal", True) + ss.setAttribute("start", str(key.idx+1)) + ss.setAttribute("ref",key.ref.attribute("id")) + ss.setAttribute("type", "normal") ## \brief Start future drawing actions