Blender Git Loki

Git Commits -> Revision f5b919e

Revision f5b919e by Ton Roosendaal (master)
March 28, 2007, 13:48 (GMT)
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.

Commit Details:

Full Hash: f5b919e12eff5df022bf340a81108c6e22463e2d
SVN Revision: 10402
Parent Commit: 39ef0f4
Lines Changed: +42, -21

5 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -7) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_blur.c (+18, -7) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_defocus.c (+14, -6) (Diff)
/source/blender/render/intern/source/shadbuf.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021