[Bf-blender-cvs] [d84ec55cff2] lanpr-under-gp: LineArt: Fix typo errors in tooltips

Antonio Vazquez noreply at git.blender.org
Wed Jul 29 12:00:34 CEST 2020


Commit: d84ec55cff2c847f63fc8299235fbc2d4bee28a6
Author: Antonio Vazquez
Date:   Wed Jul 29 12:00:27 2020 +0200
Branches: lanpr-under-gp
https://developer.blender.org/rBd84ec55cff2c847f63fc8299235fbc2d4bee28a6

LineArt: Fix typo errors in tooltips

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

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

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 194c55576af..17e72e33903 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -7326,14 +7326,14 @@ static void rna_def_scene_lineart(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "crease_threshold", PROP_FLOAT, PROP_NONE);
   RNA_def_property_float_default(prop, 0.5f);
-  RNA_def_property_ui_text(prop, "Crease Threshold", "cosine value of face angle");
+  RNA_def_property_ui_text(prop, "Crease Threshold", "Cosine value of face angle");
   RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.01f, 2);
   RNA_def_property_flag(prop, PROP_EDITABLE);
   RNA_def_property_update(prop, NC_SCENE, "rna_lineart_update");
 
   prop = RNA_def_property(srna, "angle_splitting_threshold", PROP_FLOAT, PROP_ANGLE);
   RNA_def_property_float_default(prop, 0.5f);
-  RNA_def_property_ui_text(prop, "Angle Splitting", "angle splitting threshold in radian");
+  RNA_def_property_ui_text(prop, "Angle Splitting", "Angle splitting threshold");
   /*  Don't allow value very close to PI, or we get a lot of small segments.*/
   RNA_def_property_ui_range(prop, 0.0f, DEG2RAD(179), 0.01f, 2);
   RNA_def_property_flag(prop, PROP_EDITABLE);



More information about the Bf-blender-cvs mailing list