diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-28 18:21:04 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-28 18:21:04 +0300 |
commit | 45c7b2c5c2bc20296a581e1b6a1cb3908f11732f (patch) | |
tree | 3c84b86ee52f12f5ae967791182ce71e003abee4 /source/blender/render | |
parent | 80bd3a1e9897044334d3384be27b52efc6541fef (diff) |
Orange: made Compositing more interactive. It now has an event based
system tracking changes in nodes, making sure only these nodes and
the ones that depend, are executed.
Further the 'time cursor' now counts down to indicate which node is being
done.
Also: you now can disable the "use nodes" button in the header, edit all
changes, and when you press that button again it nicely executes the
changes.
Still on the todo:
- make compositing threaded
- find a way to nicely exit compositing on input events... so the UI
keeps being responsive
- idea; a 'percentage' menu in header to enforce calculations on smaller
images temporally
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 342a69a9007..d1099891264 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -832,7 +832,7 @@ static void do_render_final(Render *re, Scene *scene) /* first check if theres nodetree with render result */ int do_render= ntreeCompositNeedsRender(scene->nodetree); /* but.. do we use nodes? */ - if(scene->use_nodes==NULL) do_render= 1; + if(scene->use_nodes==0) do_render= 1; re->scene= scene; @@ -847,6 +847,9 @@ static void do_render_final(Render *re, Scene *scene) else render_one_frame(re); } + + ntreeCompositTagRender(scene->nodetree); + if(re->r.scemode & R_DOCOMP) ntreeCompositExecTree(scene->nodetree, &re->r, 0); } |