Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_gpencil_modifier.c
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Noise Scale", "Scale the noise frequency"); | RNA_def_property_ui_text(prop, "Noise Scale", "Scale the noise frequency"); | ||||
| RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | ||||
| prop = RNA_def_property(srna, "noise_offset", PROP_FLOAT, PROP_FACTOR); | |||||
| RNA_def_property_float_sdna(prop, NULL, "noise_offset"); | |||||
| RNA_def_property_range(prop, 0.0, 100.0); | |||||
| RNA_def_property_ui_text(prop, "Noise Offset", "Offset the noise along the strokes"); | |||||
| RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | |||||
| prop = RNA_def_property(srna, "use_custom_curve", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_custom_curve", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_CUSTOM_CURVE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_NOISE_CUSTOM_CURVE); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| Context not available. | |||||