[Bf-blender-cvs] [23ec896fe09] temp-lineart-contained: LineArt: 8 bits for transparency flag

YimingWu noreply at git.blender.org
Mon Jun 28 09:44:35 CEST 2021


Commit: 23ec896fe099346ff184a5f96eb4795e06b07558
Author: YimingWu
Date:   Mon Jun 28 15:44:08 2021 +0800
Branches: temp-lineart-contained
https://developer.blender.org/rB23ec896fe099346ff184a5f96eb4795e06b07558

LineArt: 8 bits for transparency flag

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

M	source/blender/makesrna/intern/rna_gpencil_modifier.c

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

diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 212237c2985..68101ba2f38 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -3072,7 +3072,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "use_transparency_mask", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "transparency_mask", 1);
-  RNA_def_property_array(prop, 6);
+  RNA_def_property_array(prop, 8);
   RNA_def_property_ui_text(prop, "Masks", "");
   RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");



More information about the Bf-blender-cvs mailing list