[Bf-blender-cvs] [294b6730fe8] greasepencil-refactor: GPencil: Disable line for testing

Antonio Vazquez noreply at git.blender.org
Thu Dec 12 15:53:00 CET 2019


Commit: 294b6730fe841883242fcce69ebb620c3322d5a4
Author: Antonio Vazquez
Date:   Thu Dec 12 15:52:48 2019 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB294b6730fe841883242fcce69ebb620c3322d5a4

GPencil: Disable line for testing

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

M	source/blender/blenloader/intern/versioning_280.c

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

diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 4aa58df2ac0..e39b512e2dd 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -4339,7 +4339,9 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
         /* Stroke stencil mask to mix = 1. */
         if (gp_style->flag & GP_STYLE_STROKE_PATTERN) {
           gp_style->mix_stroke_factor = 1.0f;
+#if 0 /* TODO: This is disabled for testing only. */
           gp_style->flag &= ~GP_STYLE_STROKE_PATTERN;
+#endif
         }
         /* Mix disabled, set mix factor to 0. */
         else if ((gp_style->flag & GP_STYLE_STROKE_TEX_MIX) == 0) {



More information about the Bf-blender-cvs mailing list