From e2d9166473184c4794dc6bdbf91aa2b6ac2a16ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 7 Dec 2018 17:28:38 +0100 Subject: Metadata: add hostname to the available metadata options Having the hostname allows us to identify which machine rendered which frame in our render farm. This simply uses the host's name, and doesn't do any DNS lookup of any IP address of the machine. As such, it's only usable for identification purposes, and not for reachability over a network. Reviewers: sergey, brecht Reviewed By: sergey Differential Revision: https://developer.blender.org/D4047 --- source/blender/makesdna/DNA_scene_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_scene_types.h') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index b191c4c5a7c..c1853ce1745 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1724,10 +1724,11 @@ enum { #define R_STAMP_MEMORY 0x2000 #define R_STAMP_HIDE_LABELS 0x4000 #define R_STAMP_FRAME_RANGE 0x8000 +#define R_STAMP_HOSTNAME 0x10000 #define R_STAMP_ALL (R_STAMP_TIME|R_STAMP_FRAME|R_STAMP_DATE|R_STAMP_CAMERA|R_STAMP_SCENE| \ R_STAMP_NOTE|R_STAMP_MARKER|R_STAMP_FILENAME|R_STAMP_SEQSTRIP| \ R_STAMP_RENDERTIME|R_STAMP_CAMERALENS|R_STAMP_MEMORY| \ - R_STAMP_HIDE_LABELS|R_STAMP_FRAME_RANGE) + R_STAMP_HIDE_LABELS|R_STAMP_FRAME_RANGE|R_STAMP_HOSTNAME) /* RenderData.alphamode */ #define R_ADDSKY 0 -- cgit v1.2.3