[Bf-blender-cvs] [96ef8ed07f5] lanpr-under-gp: LineArt: rna info updated

YimingWu noreply at git.blender.org
Wed Nov 4 11:07:14 CET 2020


Commit: 96ef8ed07f5e7091f32bce1cfaea2eefa3c5dc64
Author: YimingWu
Date:   Wed Nov 4 18:07:05 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB96ef8ed07f5e7091f32bce1cfaea2eefa3c5dc64

LineArt: rna info updated

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

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

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

diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 61c74a4da27..901a3b6260e 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -2346,7 +2346,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "use_crease", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "line_types", LRT_EDGE_FLAG_CREASE);
-  RNA_def_property_ui_text(prop, "Use Crease", "Include crease lines in the result");
+  RNA_def_property_ui_text(prop, "Use Crease", "Include sharp edges in the result");
   RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
 
   prop = RNA_def_property(srna, "use_material", PROP_BOOLEAN, PROP_NONE);
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 72b3da179bc..5b494d75a62 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2642,7 +2642,7 @@ static void rna_def_object_lineart(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "usage", PROP_ENUM, PROP_NONE);
   RNA_def_property_enum_items(prop, prop_feature_line_usage_items);
-  RNA_def_property_ui_text(prop, "Usage", "How to use this object");
+  RNA_def_property_ui_text(prop, "Usage", "How to use this object in line art calculation");
   RNA_def_property_update(prop, 0, "rna_object_lineart_update");
 
   prop = RNA_def_property(srna, "use_crease_override", PROP_BOOLEAN, PROP_NONE);
@@ -2653,7 +2653,8 @@ static void rna_def_object_lineart(BlenderRNA *brna)
   prop = RNA_def_property(srna, "crease_threshold", PROP_FLOAT, PROP_ANGLE);
   RNA_def_property_range(prop, 0, DEG2RAD(180.0f));
   RNA_def_property_ui_range(prop, 0.0f, DEG2RAD(180.0f), 0.01f, 1);
-  RNA_def_property_ui_text(prop, "Own Crease", "Use own crease setting to overwrite scene global");
+  RNA_def_property_ui_text(
+      prop, "Own Crease", "Angles smaller than this will be treated as creases");
   RNA_def_property_update(prop, 0, "rna_object_lineart_update");
 }



More information about the Bf-blender-cvs mailing list