From ab8a64a5b99debbc444ff9ffd1a5647dd6f23c34 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Wed, 3 Oct 2018 22:59:52 +0200 Subject: GP: Show 3D cursor in draw mode The cursor is used as location to draw new stroke --- source/blender/draw/intern/draw_view.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/blender/draw/intern/draw_view.c b/source/blender/draw/intern/draw_view.c index 0c0aab7bec3..a20460db356 100644 --- a/source/blender/draw/intern/draw_view.c +++ b/source/blender/draw/intern/draw_view.c @@ -166,9 +166,7 @@ static bool is_cursor_visible(const DRWContextState *draw_ctx, Scene *scene, Vie } /* grease pencil hide always in some modes */ - if ((ob) && - ((ob->mode == OB_MODE_GPENCIL_PAINT) || - (ob->mode == OB_MODE_GPENCIL_WEIGHT))) + if ((ob) && (ob->mode == OB_MODE_GPENCIL_WEIGHT)) { return false; } -- cgit v1.2.3