diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-04 19:09:20 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-04 19:09:20 +0300 |
commit | 3730d16347a55ef7a819ea1234538d794e0821a3 (patch) | |
tree | 7caa440fe1e45c9dc66dfc9ef4eb3171ab647c2e /source/blender/editors/gpencil/drawgpencil.c | |
parent | f6bafef1e1a84ce5b5fcdbc1e53e3341d4433f3b (diff) |
GPencil: Cleanup value to enum name
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 8551dc6f981..b36929f66b0 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -721,7 +721,7 @@ static void gp_draw_stroke_3d(tGPDdraw *tgpw, short thickness, const float ink[4 immUniform1i("keep_size", keep_size); immUniform1i("pixfactor", tgpw->gpd->pixfactor); /* xray mode always to 3D space to avoid wrong zdepth calculation (T60051) */ - immUniform1i("xraymode", 1); + immUniform1i("xraymode", GP_XRAY_3DSPACE); /* draw stroke curve */ GPU_line_width(max_ff(curpressure * thickness, 1.0f)); |