[Bf-blender-cvs] [ab8a64a5b99] blender2.8: GP: Show 3D cursor in draw mode
Antonioya
noreply at git.blender.org
Wed Oct 3 22:59:58 CEST 2018
Commit: ab8a64a5b99debbc444ff9ffd1a5647dd6f23c34
Author: Antonioya
Date: Wed Oct 3 22:59:52 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBab8a64a5b99debbc444ff9ffd1a5647dd6f23c34
GP: Show 3D cursor in draw mode
The cursor is used as location to draw new stroke
===================================================================
M source/blender/draw/intern/draw_view.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list