diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-03 23:59:52 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-03 23:59:52 +0300 |
commit | ab8a64a5b99debbc444ff9ffd1a5647dd6f23c34 (patch) | |
tree | 81fa3ffec8b968665cafbe1ada90560554c9b8d9 /source/blender/draw | |
parent | 204ad852a64072f008050b66e65ff197258ffa2e (diff) |
GP: Show 3D cursor in draw mode
The cursor is used as location to draw new stroke
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/intern/draw_view.c | 4 |
1 files changed, 1 insertions, 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; } |