From 634a188b5696a5357b02fd87a812b3960114e84e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 10 Nov 2010 13:10:42 -0500 Subject: [PATCH] Adjust playlist curve setup to load curves after YAML restore. --- hooke/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/playlist.py b/hooke/playlist.py index a120aba..41132a1 100644 --- a/hooke/playlist.py +++ b/hooke/playlist.py @@ -194,7 +194,7 @@ class Playlist (NoteIndexList): self.append(curve) if curve.driver == None: c.identify(self.drivers) - if curve.data == None: + if curve.data == None or max([d.size for d in curve.data]) == 0: curve.load() self._loaded.append(curve) if len(self._loaded) > self._max_loaded: -- 2.26.2