Color managed color didn't work properly for float sequencer frames.
[blender.git] / source / blender / editors / space_sequencer / sequencer_view.c
index 68428cd890f04abaa56508141c63e5f573cfd543..18733d4e4094fe0142b804fd9c97773268f65517 100644 (file)
@@ -152,7 +152,8 @@ static void sample_apply(bContext *C, wmOperator *op, const wmEvent *event)
                        info->colfp = info->colf;
 
                        /* sequencer's image buffers are in non-linear space, need to make them linear */
-                       BKE_sequencer_pixel_from_sequencer_space_v4(scene, info->colf);
+                       copy_v4_v4(info->linearcol, info->colf);
+                       BKE_sequencer_pixel_from_sequencer_space_v4(scene, info->linearcol);
 
                        info->color_manage = TRUE;
                }