Blender Git Commit Log

Git Commits -> Revision 2948d53

Revision 2948d53 by Antonio Vazquez (greasepencil-object)
February 14, 2020, 19:40 (GMT)
GPencil: Fix On/OFF buttons for VFX

As the VFX was using if the mode was render, and this mode was shared with the shading type, the Viewport ON/OFF button was not working as expected.

Now, the VFX use a is_viewport control and the is_render is not used.

Commit Details:

Full Hash: 2948d533c10f8779f563169482af3c4138fd6b93
Parent Commit: aaaef87
Lines Changed: +8, -5

3 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_shader_fx.c (+5, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021