[Bf-blender-cvs] [a18d264bf77] greasepencil-object: GPencil: Change Tint modifier

Antonio Vazquez noreply at git.blender.org
Sun Feb 23 13:11:44 CET 2020


Commit: a18d264bf77bac7aef440bee283b53c66f2517ca
Author: Antonio Vazquez
Date:   Sun Feb 23 11:42:54 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rBa18d264bf77bac7aef440bee283b53c66f2517ca

GPencil: Change Tint modifier

-   Change factor increment to 0.01 and precision 2.

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

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 6ce0be26a8c..5bd0f6ce989 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -968,7 +968,7 @@ static void rna_def_modifier_gpenciltint(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "factor", PROP_FLOAT, PROP_NONE);
   RNA_def_property_float_sdna(prop, NULL, "factor");
-  RNA_def_property_ui_range(prop, 0, 2.0, 0.1, 3);
+  RNA_def_property_ui_range(prop, 0, 2.0, 0.01, 2);
   RNA_def_property_ui_text(prop, "Factor", "Factor for mixing color");
   RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");



More information about the Bf-blender-cvs mailing list