Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-09-20 16:32:18 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-09-20 16:32:27 +0300
commitc5c189a158a330ba2370b4f78605207f14318c0c (patch)
tree4650d6ff0af8ded94d65cf277508109032d0e70b /source/blender
parenteaad219ee7127fdeba08cef92f1d6cf4279a30af (diff)
GPencil: Change Rotation tooltip
The tooltip was not clear about in what shading modes works. Related to T91467
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_material.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index 8d0d3adab8b..4078691444b 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -604,8 +604,10 @@ static void rna_def_material_greasepencil(BlenderRNA *brna)
RNA_def_property_float_default(prop, 0.0f);
RNA_def_property_range(prop, -DEG2RADF(90.0f), DEG2RADF(90.0f));
RNA_def_property_ui_range(prop, -DEG2RADF(90.0f), DEG2RADF(90.0f), 10, 3);
- RNA_def_property_ui_text(
- prop, "Rotation", "Additional rotation applied to dots and square strokes");
+ RNA_def_property_ui_text(prop,
+ "Rotation",
+ "Additional rotation applied to dots and square texture of strokes. "
+ "Only valid in texture shading mode");
RNA_def_property_update(prop, NC_GPENCIL | ND_SHADING, "rna_MaterialGpencil_update");
/* pass index for future compositing and editing tools */