Sequencer: only show the 2D cursor with overlays enabled
Also hide when displaying scopes.
This commit is contained in:
parent
2f9fab716d
commit
8f4697e570
|
@ -804,7 +804,8 @@ static void sequencer_preview_region_draw(const bContext *C, ARegion *region)
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
/* No need to show the cursor for scopes. */
|
||||
if (draw_overlay && (sseq->mainb == SEQ_DRAW_IMG_IMBUF)) {
|
||||
GPU_color_mask(true, true, true, true);
|
||||
GPU_depth_mask(false);
|
||||
GPU_depth_test(GPU_DEPTH_NONE);
|
||||
|
|
Loading…
Reference in New Issue