Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-03 23:59:52 +0300
committerAntonioya <blendergit@gmail.com>2018-10-03 23:59:52 +0300
commitab8a64a5b99debbc444ff9ffd1a5647dd6f23c34 (patch)
tree81fa3ffec8b968665cafbe1ada90560554c9b8d9
parent204ad852a64072f008050b66e65ff197258ffa2e (diff)
GP: Show 3D cursor in draw mode
The cursor is used as location to draw new stroke
-rw-r--r--source/blender/draw/intern/draw_view.c4
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;
}