Cleanup: redundant greater than
This commit is contained in:
parent
bea779fd78
commit
d7122825ec
|
@ -627,7 +627,7 @@ static bool is_cursor_visible(const DRWContextState *draw_ctx, Scene *scene, Vie
|
|||
{
|
||||
Object *ob = OBACT(view_layer);
|
||||
View3D *v3d = draw_ctx->v3d;
|
||||
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) > 0 || (v3d->overlay.flag & V3D_OVERLAY_HIDE_CURSOR)) {
|
||||
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) || (v3d->overlay.flag & V3D_OVERLAY_HIDE_CURSOR)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue