diff options
author | Ton Roosendaal <ton@blender.org> | 2007-03-28 17:48:01 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-03-28 17:48:01 +0400 |
commit | f5b919e12eff5df022bf340a81108c6e22463e2d (patch) | |
tree | 05f1b6af0c9449adad6c13980f08484b49efc703 /source/blender/src/toolbox.c | |
parent | 39ef0f4eba5c0890e6792c95ed8ae6c8804de28c (diff) |
Long wanted feature; decent ESC processing in composite nodes.
Works simple; just check for
if(node->exec & NODE_BREAK)
break;
The main process (node processor) sets such a flag, checking for esc
20 times per second. That means you can check for ESC while doing image
processing without much cpu overhead.
Currently only added in blur nodes and defocus. Needs to be added all over,
nice for others... needs careful tests too.
What we now could do is even calling ESC on editing commands or mouseclicks
in composite editor? Could give user feeling of interactive app :) Further,
finished nodes are kept in memory anyway.
Diffstat (limited to 'source/blender/src/toolbox.c')
0 files changed, 0 insertions, 0 deletions