Cleanup: VSE: use `context->for_render` instead of `G.is_rendering`

This commit is contained in:
Richard Antalik 2023-01-27 22:42:41 +01:00
parent 9facc5067a
commit 8336de03a6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}