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>2022-05-09 15:52:52 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-05-09 15:52:52 +0300
commit17429fe5e5b4ec7e304e400fb298c717767b53a5 (patch)
treedca16b7a576b07acd3c1c718e5dc9373869a6574
parent82060c16977ee32abac72129f2340e0a4a550942 (diff)
GPencil: Tooltip and UI text changes
Apply @pablovazquez feedback.
-rw-r--r--source/blender/makesrna/intern/rna_gpencil_modifier.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 08986afe15e..05e8d5406b4 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -233,8 +233,8 @@ static const EnumPropertyItem gpencil_envelope_mode_items[] = {
{0, NULL, 0, NULL, NULL},
};
static const EnumPropertyItem modifier_noise_random_mode_items[] = {
- {GP_NOISE_RANDOM_STEP, "STEP", 0, "Steps", "Apply random every N steps"},
- {GP_NOISE_RANDOM_KEYFRAME, "KEYFRAME", 0, "On Keyframes", "Apply random every keyframe"},
+ {GP_NOISE_RANDOM_STEP, "STEP", 0, "Steps", "Randomize every number of frames"},
+ {GP_NOISE_RANDOM_KEYFRAME, "KEYFRAME", 0, "Keyframes", "Randomize on keyframes only"},
{0, NULL, 0, NULL, NULL},
};
#endif
@@ -929,8 +929,7 @@ static void rna_def_modifier_gpencilnoise(BlenderRNA *brna)
prop = RNA_def_property(srna, "step", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "step");
RNA_def_property_range(prop, 1, 100);
- RNA_def_property_ui_text(
- prop, "Step", "Number of frames before recalculate random values again");
+ RNA_def_property_ui_text(prop, "Step", "Number of frames interval between randomization steps");
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
prop = RNA_def_property(srna, "invert_layers", PROP_BOOLEAN, PROP_NONE);
@@ -967,7 +966,7 @@ static void rna_def_modifier_gpencilnoise(BlenderRNA *brna)
prop = RNA_def_property(srna, "random_mode", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "noise_mode");
RNA_def_property_enum_items(prop, modifier_noise_random_mode_items);
- RNA_def_property_ui_text(prop, "Mode", "How the random changes are applied");
+ RNA_def_property_ui_text(prop, "Mode", "Where to perform randomization");
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
RNA_define_lib_overridable(false);