[Bf-blender-cvs] [6b7cbd6493b] master: GPencil: Fix unreported wrong name for RNA setter

Antonio Vazquez noreply at git.blender.org
Sat Oct 3 10:59:12 CEST 2020


Commit: 6b7cbd6493b04aade62abc9525cd685c9ab93cfd
Author: Antonio Vazquez
Date:   Sat Oct 3 10:58:54 2020 +0200
Branches: master
https://developer.blender.org/rB6b7cbd6493b04aade62abc9525cd685c9ab93cfd

GPencil: Fix unreported wrong name for RNA setter

The Vertex Group setter function name was wrong for Tint modifier.

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

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 6a2d3805fa5..9e3f8bb8183 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -310,6 +310,7 @@ RNA_GP_MOD_VGROUP_NAME_SET(Hook, vgname);
 RNA_GP_MOD_VGROUP_NAME_SET(Offset, vgname);
 RNA_GP_MOD_VGROUP_NAME_SET(Armature, vgname);
 RNA_GP_MOD_VGROUP_NAME_SET(Texture, vgname);
+RNA_GP_MOD_VGROUP_NAME_SET(Tint, vgname);
 
 #  undef RNA_GP_MOD_VGROUP_NAME_SET
 
@@ -1066,7 +1067,7 @@ static void rna_def_modifier_gpenciltint(BlenderRNA *brna)
   prop = RNA_def_property(srna, "vertex_group", PROP_STRING, PROP_NONE);
   RNA_def_property_string_sdna(prop, NULL, "vgname");
   RNA_def_property_ui_text(prop, "Vertex Group", "Vertex group name for modulating the deform");
-  RNA_def_property_string_funcs(prop, NULL, NULL, "rna_HookGpencilModifier_vgname_set");
+  RNA_def_property_string_funcs(prop, NULL, NULL, "rna_TintGpencilModifier_vgname_set");
   RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
 
   prop = RNA_def_property(srna, "pass_index", PROP_INT, PROP_NONE);



More information about the Bf-blender-cvs mailing list