Blender Git Commit Log

Git Commits -> Revision cd9c1c1

Revision cd9c1c1 by Antonio Vazquez (master)
March 2, 2019, 12:59 (GMT)
GPencil: Fix Display Textures in Solid mode

There was a bug when selected Solid mode with Material or Texture mode. The textures were not visible.

Now, the mode is passed to shaders to decide if use the solid color or the result texture color. The mode is passed using an array with shading type and mode.

Commit Details:

Full Hash: cd9c1c10e88c3fd1a028cdf2a711b4df234fbf17
Parent Commit: 10d41e4
Lines Changed: +76, -51

8 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+2, -2) (Diff)
/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+35, -19) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+4, -4) (Diff)
/source/blender/draw/engines/gpencil/gpencil_shader_fx.c (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_fill_frag.glsl (+13, -10) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_point_vert.glsl (+10, -7) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_stroke_vert.glsl (+10, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021