Added option to composite/viewer nodes which specifys whether alpha input
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 10 Feb 2013 12:20:10 +0000 (12:20 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 10 Feb 2013 12:20:10 +0000 (12:20 +0000)
commit75cbb07507fa39a1c65296321839cdfd245cc8d6
treeafebd7b2614e2e86119a7d240ad0623edf5d69fd
parentd0f4a2396b38c122b7e56de83532515ae8fa4381
Added option to composite/viewer nodes which specifys whether alpha input
is straight or not (premultiplied is default).

This is useful in cases when you want to check on output of such nodes
as keying which does have straight alpha output.

Also added missing do_version code to previous compo do_versions.
14 files changed:
source/blender/blenloader/intern/readfile.c
source/blender/compositor/nodes/COM_CompositorNode.cpp
source/blender/compositor/nodes/COM_ViewerNode.cpp
source/blender/compositor/operations/COM_CompositorOperation.cpp
source/blender/compositor/operations/COM_CompositorOperation.h
source/blender/compositor/operations/COM_ViewerBaseOperation.cpp
source/blender/compositor/operations/COM_ViewerBaseOperation.h
source/blender/compositor/operations/COM_ViewerOperation.cpp
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_node/node_draw.c
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_nodetree_types.h
source/blender/nodes/composite/nodes/node_composite_composite.c
source/blender/nodes/composite/nodes/node_composite_viewer.c