Cleanup: VSE: use `context->for_render` instead of `G.is_rendering`
This commit is contained in:
parent
9facc5067a
commit
8336de03a6
|
@ -529,7 +529,7 @@ static void sequencer_preprocess_transform_crop(
|
|||
break;
|
||||
case SEQ_TRANSFORM_FILTER_NEAREST_3x3:
|
||||
filter = IMB_FILTER_NEAREST;
|
||||
num_subsamples = G.is_rendering ? 3 : 1;
|
||||
num_subsamples = context->for_render ? 3 : 1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue