diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-02-04 20:12:42 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-02-04 20:12:42 +0400 |
commit | 03687b7c66d7064870bbe8d01f889c85de1fad7d (patch) | |
tree | b5a081058b582e3d40b79e58f2c601f31394ea7c /source/blender/makesdna | |
parent | 7c9d99334705498932a272f68f74121953d4974a (diff) |
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.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 376d775f719..116b2327d29 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -712,7 +712,9 @@ typedef struct NodeTrackPosData { } NodeTrackPosData; typedef struct NodeTranslateData { - char wrap_axis, pad[7]; + char wrap_axis; + char relative; + char pad[6]; } NodeTranslateData; |