From 27b78c9c94baf6fa43268e851de58da96f7d7123 Mon Sep 17 00:00:00 2001 From: Robert Guetzkow Date: Wed, 13 Jan 2021 11:01:44 +0100 Subject: Compositor: "Save as Render" for the file output node This commit adds the "Save as Render" feature to the file output node, that allows to disable the application of the configured view transform and other color management settings on the image. If disable it uses the standard view transform instead. This feature was originally suggested in T83842 and is part of the color management improvements task in T68926. With this feature it is possible to toggle the application of the color management settings for each input socket of the File Output node individually. Reviewed By: brecht Maniphest Tasks: T68926, T83842 Differential Revision: https://developer.blender.org/D9921 --- source/blender/nodes/composite/nodes/node_composite_outputFile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/composite/nodes/node_composite_outputFile.c b/source/blender/nodes/composite/nodes/node_composite_outputFile.c index 36fc3b4c0a8..c10edd8d5ad 100644 --- a/source/blender/nodes/composite/nodes/node_composite_outputFile.c +++ b/source/blender/nodes/composite/nodes/node_composite_outputFile.c @@ -146,6 +146,7 @@ bNodeSocket *ntreeCompositOutputFileAddSocket(bNodeTree *ntree, } /* use node data format by default */ sockdata->use_node_format = true; + sockdata->save_as_render = true; nimf->active_input = BLI_findindex(&node->inputs, sock); -- cgit v1.2.3