From 34daf527f3a0f6b64f8f11972088b4567e937699 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 5 Mar 2019 15:09:25 +1100 Subject: Cleanup: rename RENDER_OVERRIDE -> HIDE_OVERLAYS Match the UI naming (changed since 2.7x). --- source/blender/editors/gpencil/drawgpencil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/gpencil/drawgpencil.c') diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index b36929f66b0..37927aba0c5 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -1668,7 +1668,7 @@ void ED_gpencil_draw_view3d( dflag |= (GP_DRAWDATA_ONLY3D | GP_DRAWDATA_NOSTATUS); } - if (v3d->flag2 & V3D_RENDER_OVERRIDE) { + if (v3d->flag2 & V3D_HIDE_OVERLAYS) { /* don't draw status text when "only render" flag is set */ dflag |= GP_DRAWDATA_NOSTATUS; } @@ -1724,7 +1724,7 @@ void ED_gpencil_draw_view3d_object(wmWindowManager *wm, Scene *scene, Depsgraph dflag |= (GP_DRAWDATA_ONLY3D | GP_DRAWDATA_NOSTATUS); } - if (v3d->flag2 & V3D_RENDER_OVERRIDE) { + if (v3d->flag2 & V3D_HIDE_OVERLAYS) { /* don't draw status text when "only render" flag is set */ dflag |= GP_DRAWDATA_NOSTATUS; } -- cgit v1.2.3