Color Management, Stage 2: Switch color pipeline to use OpenColorIO
[blender.git] / source / blender / nodes / composite / nodes / node_composite_outputFile.c
index 2d9b934866854690e5702485921474673d19e045..656e2a72c033e426d84978b49f9de03bb423bd46 100644 (file)
@@ -267,9 +267,6 @@ static void exec_output_file_singlelayer(RenderData *rd, bNode *node, bNodeStack
                        ibuf->rect_float = cbuf->rect;
                        ibuf->dither = rd->dither_intensity;
                        
-                       if (rd->color_mgt_flag & R_COLOR_MANAGEMENT)
-                               ibuf->profile = IB_PROFILE_LINEAR_RGB;
-                       
                        /* get full path */
                        BLI_join_dirfile(path, FILE_MAX, nimf->base_path, sockdata->path);
                        BKE_makepicstring(filename, path, bmain->name, rd->cfra, format->imtype, (rd->scemode & R_EXTENSION), TRUE);