diff pyink/frameline.py @ 1217:93acb8568ad3

Update frameline when loading a document
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 05 Jan 2011 21:49:20 +0800
parents 8e372ae69010
children 33aa2d63e240
line wrap: on
line diff
--- a/pyink/frameline.py	Wed Jan 05 19:27:05 2011 +0800
+++ b/pyink/frameline.py	Wed Jan 05 21:49:20 2011 +0800
@@ -865,6 +865,12 @@
 	key = self._keys[pos]
 	return key.ref
     
+    def set_frame_data(self, idx, value):
+	pos = self._find_keyframe(idx)
+	key = self._keys[pos]
+	key.ref = value
+	pass
+    
     ## Set active frame
     #
     # The active frame is the frame that is working on.