Blender Git Commit Log

Git Commits -> Revision c825dc6

Revision c825dc6 by Antonio Vazquez (greasepencil-object)
February 24, 2020, 08:50 (GMT)
GPencil: Fix problem with first stroke color

When use a new material, the color only changed after first stroke. This was related to the tag of the depsgraph that is done only at the end of drawing due perfromance and fast response.

Now, the value is copied to the runtime data.

Commit Details:

Full Hash: c825dc6b86fb387b70943671b0de6126473bf829
Parent Commit: fe66b0d
Lines Changed: +15, -14

6 Modified Paths:

/source/blender/draw/intern/draw_cache_impl_gpencil.c (+0, -1) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+2, -1) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+5, -4) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+5, -6) (Diff)
/source/blender/editors/include/ED_gpencil.h (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021