Compositor "Relative" option for Translate node, same as for other nodes this
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 4 Feb 2013 16:12:42 +0000 (16:12 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 4 Feb 2013 16:12:42 +0000 (16:12 +0000)
commit03687b7c66d7064870bbe8d01f889c85de1fad7d
treeb5a081058b582e3d40b79e58f2c601f31394ea7c
parent7c9d99334705498932a272f68f74121953d4974a
Compositor "Relative" option for Translate node, same as for other nodes this
makes it possible to specify an offset relative to the render resolution (so 0.5
is half the image rather than giving the number of pixels). It's a bit late but
it's a trivial change and needed for 4k mango render.
source/blender/compositor/nodes/COM_TranslateNode.cpp
source/blender/compositor/operations/COM_TranslateOperation.cpp
source/blender/compositor/operations/COM_TranslateOperation.h
source/blender/editors/space_node/drawnode.c
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c