Border for compositor viewer node feature
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Mar 2013 17:47:30 +0000 (17:47 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Mar 2013 17:47:30 +0000 (17:47 +0000)
commit557b893dfd0fa2380ee159bb4fe7a28f09187036
tree4ea73cdeefc2e0c1d1f54b42660c32d5abb21e91
parenta134d9ed517ef4173c1e8c19e77d652d52fe9258
Border for compositor viewer node feature

This adds border option to compositor, which affects on
a backdrop and viewer nodes, which is useful for faster
previews and tweaks.

Final compositing still happens for the whole frame, but
if it'll be needed it's not so difficult to support it
as well.

To use border there's Ctrl-B shortcut in the compositor
editor, which i used to define region you want to restrict
compositing to. There's also "Viewer Border" option in
the N-panel in case you'll want to disable border
compositing.

Some areas could be cleaned a bit, like ideally it shall
not be viewer image clearing in viewer_border_update RNA
callback, but currently it's not so much clear how to
make it the same fast as simple memset and glue it
somehow to compositor. Will think of nicer solution a
bit later.
release/scripts/startup/bl_ui/space_node.py
source/blender/compositor/intern/COM_ExecutionGroup.cpp
source/blender/compositor/intern/COM_ExecutionGroup.h
source/blender/compositor/intern/COM_ExecutionSystem.cpp
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_node/node_intern.h
source/blender/editors/space_node/node_ops.c
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/windowmanager/intern/wm_operators.c