Commit: b60b92abd45b081b0caef2b139a9408fefb4df5a
Author: Antonio Vazquez
Date:   Sat Nov 9 09:04:12 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rBb60b92abd45b081b0caef2b139a9408fefb4df5a

GPencil: Display Fill colors in Vertex Paint in Multiedit always

Don't use the option of multiedit "use_gpencil_multiedit_line_only"

===================================================================

M       source/blender/draw/engines/gpencil/gpencil_draw_utils.c

===================================================================

diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c 
b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index 236b15e45b5..f9c37a72cb4 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -1240,7 +1240,8 @@ static void gpencil_draw_strokes(GpencilBatchCache *cache,
   const bool playing = stl->storage->is_playing;
   const bool is_render = (bool)stl->storage->is_render;
   const bool is_mat_preview = (bool)stl->storage->is_mat_preview;
-  const bool overlay_multiedit = v3d != NULL ? !(v3d->gp_flag & 
V3D_GP_SHOW_MULTIEDIT_LINES) :
+  const bool overlay_multiedit = v3d != NULL ? ((!(v3d->gp_flag & 
V3D_GP_SHOW_MULTIEDIT_LINES)) ||
+                                                (GPENCIL_VERTEX_MODE(gpd))) :
                                                true;
 
   /* Get evaluation context */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to