[Bf-blender-cvs] [3730d16347a] master: GPencil: Cleanup value to enum name
Antonioya
noreply at git.blender.org
Mon Mar 4 17:09:25 CET 2019
Commit: 3730d16347a55ef7a819ea1234538d794e0821a3
Author: Antonioya
Date: Mon Mar 4 17:09:20 2019 +0100
Branches: master
https://developer.blender.org/rB3730d16347a55ef7a819ea1234538d794e0821a3
GPencil: Cleanup value to enum name
===================================================================
M source/blender/editors/gpencil/drawgpencil.c
===================================================================
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));
More information about the Bf-blender-cvs
mailing list