diff options
author | Antonioya <blendergit@gmail.com> | 2018-11-01 14:02:08 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-11-01 14:02:08 +0300 |
commit | 8f1b1b5abb63e52827d5d0dcee0c2930be2087d7 (patch) | |
tree | 7ce1664f6bf23a904ee2f13c98cf0ce411f8e95d /source | |
parent | 10d7ebc469b2fd7287577af68df7d1c4cbd37148 (diff) |
GP: Fix Stroke mode when annotations not enabled
Internally, a drawing is done to calculate z-depth and needs always the drawing.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw_legacy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw_legacy.c b/source/blender/editors/space_view3d/view3d_draw_legacy.c index 44a5c465d9b..5fec606d4e3 100644 --- a/source/blender/editors/space_view3d/view3d_draw_legacy.c +++ b/source/blender/editors/space_view3d/view3d_draw_legacy.c @@ -881,9 +881,7 @@ void ED_view3d_draw_depth_gpencil( GPU_depth_test(true); - if (v3d->flag2 & V3D_SHOW_ANNOTATION) { - ED_gpencil_draw_view3d(NULL, scene, view_layer, depsgraph, v3d, ar, true); - } + ED_gpencil_draw_view3d(NULL, scene, view_layer, depsgraph, v3d, ar, true); GPU_depth_test(false); } |