[Bf-blender-cvs] [a008dba54ce] greasepencil-refactor: GPencil: Fix merge error
Antonio Vazquez
noreply at git.blender.org
Wed Jan 15 08:51:45 CET 2020
Commit: a008dba54cec14b9fb9ec7e6a6183607eede0a98
Author: Antonio Vazquez
Date: Wed Jan 15 08:51:39 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBa008dba54cec14b9fb9ec7e6a6183607eede0a98
GPencil: Fix merge error
===================================================================
M source/blender/editors/gpencil/drawgpencil.c
===================================================================
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index a6151406578..091e57ef044 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -420,8 +420,8 @@ static void gp_draw_stroke_fill(bGPdata *gpd,
immUniform2fv("texture_scale", gp_style->texture_scale);
immUniform2fv("texture_offset", gp_style->texture_offset);
immUniform1f("texture_opacity", gp_style->texture_opacity);
- immUniform1i("t_mix", (gp_style->flag & GP_STYLE_FILL_TEX_MIX) != 0);
- immUniform1i("t_flip", (gp_style->flag & GP_STYLE_COLOR_FLIP_FILL) != 0);
+ immUniform1i("t_mix", (gp_style->flag & GP_MATERIAL_FILL_TEX_MIX) != 0);
+ immUniform1i("t_flip", (gp_style->flag & GP_MATERIAL_FLIP_FILL) != 0);
/* Draw all triangles for filling the polygon (cache must be calculated before) */
immBegin(GPU_PRIM_TRIS, gps->tot_triangles * 3);
More information about the Bf-blender-cvs
mailing list