GP: Show 3D cursor in draw mode

The cursor is used as location to draw new stroke
This commit is contained in:
2018-10-03 22:59:52 +02:00
parent 204ad852a6
commit ab8a64a5b9

View File

@@ -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;
}