Don't ignore Curve.data in playlist serialization (now that we have hooke.util.yaml).
authorW. Trevor King <wking@drexel.edu>
Sat, 21 Aug 2010 20:25:54 +0000 (16:25 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 21 Aug 2010 20:25:54 +0000 (16:25 -0400)
hooke/playlist.py

index 6e8f232..d6018d0 100644 (file)
@@ -202,9 +202,10 @@ class Playlist (NoteIndexList):
         self._ignored_attrs.extend([
                 '_item_ignored_attrs', '_item_default_attrs',
                 '_loaded'])
-        self._item_ignored_attrs = ['data']
+        self._item_ignored_attrs = []
         self._item_default_attrs = {
             'command_stack': [],
+            'data': None,
             'driver': None,
             'info': {},
             'name': None,