From: W. Trevor King Date: Thu, 19 Aug 2010 19:13:06 +0000 (-0400) Subject: Set Curve._hooke after joining engine in HookeRunner (see f2bdd7aa2269) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34fb609d190fd15a5d77b30439821a590ac9e364;p=hooke.git Set Curve._hooke after joining engine in HookeRunner (see f2bdd7aa2269) --- diff --git a/hooke/hooke.py b/hooke/hooke.py index b9a659e..98f3649 100644 --- a/hooke/hooke.py +++ b/hooke/hooke.py @@ -206,6 +206,9 @@ class HookeRunner (object): hooke = command_to_ui.get(block=True) log.debug('cleanup got %s instance' % type(hooke)) command.join() + for playlist in hooke.playlists: # Curve._hooke is not pickled. + for curve in playlist: + curve.set_hooke(hooke) return hooke