diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 4efc8c4cca3..f6b52f80128 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -2531,9 +2531,11 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna) RNA_def_property_range(prop, 0.0f, 1.0f); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); - prop = RNA_def_property(srna, "pre_sample_length", PROP_FLOAT, PROP_NONE); - RNA_def_property_ui_text( - prop, "Sample Length", "Resolution to sample the generated strokes with"); + prop = RNA_def_property(srna, "resample_length", PROP_FLOAT, PROP_DISTANCE); + RNA_def_property_ui_text(prop, + "Resample Length", + "Resample the strokes so that the stroke points have the specified " + "length between them. Zero length disables the resampling"); RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.01f, 2); RNA_def_property_range(prop, 0.0f, 1.0f); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); |