Merge branch 'blender-v3.0-release'

This commit is contained in:
Philipp Oeser 2021-11-23 16:32:13 +01:00
commit 71c80bd939
1 changed files with 2 additions and 1 deletions

View File

@ -1306,8 +1306,9 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna)
srna, "Sinus Displacement", "Add sinus displacement to stroke backbone geometry");
rna_def_geometry_modifier(srna);
prop = RNA_def_property(srna, "wavelength", PROP_FLOAT, PROP_NONE);
prop = RNA_def_property(srna, "wavelength", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_sdna(prop, NULL, "wavelength");
RNA_def_property_range(prop, 0.0001f, FLT_MAX);
RNA_def_property_ui_text(prop, "Wavelength", "Wavelength of the sinus displacement");
RNA_def_property_update(prop, NC_LINESTYLE, "rna_LineStyle_update");