Don't load curves becore clearing their command stack.
authorW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 22:44:01 +0000 (18:44 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 22:44:01 +0000 (18:44 -0400)
commit39dffab5d36a997cc76ad9069fe00de51d3147a0
treeb69316745200ed13ec6325c01ff8947f5bfd3a3c
parentdabd5c6a25949ec3ef937992d232704c21b59751
Don't load curves becore clearing their command stack.

Loading a curve (which would happen if it had been unloaded before
being summoned by current_curve_callback) executes its command stack.
Since 'clear curve command stack' is only trying to remove the stack,
that stack execution is a waste of time.  With the unloaded callback,
we can remove the command stack without ever loading the curve.
hooke/playlist.py
hooke/plugin/curve.py