Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_gpencil_modifier.c
| Context not available. | |||||
| prop = RNA_def_property(srna, "rotation", PROP_FLOAT, PROP_EULER); | prop = RNA_def_property(srna, "rotation", PROP_FLOAT, PROP_EULER); | ||||
| RNA_def_property_float_sdna(prop, NULL, "rot"); | RNA_def_property_float_sdna(prop, NULL, "rot"); | ||||
| RNA_def_property_ui_text(prop, "Rotation", "Values for chages in rotation"); | RNA_def_property_ui_text(prop, "Rotation", "Values for changes in rotation"); | ||||
| RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, RNA_TRANSLATION_PREC_DEFAULT); | RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, RNA_TRANSLATION_PREC_DEFAULT); | ||||
| RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | ||||
| Context not available. | |||||
| prop = RNA_def_property(srna, "rotation", PROP_FLOAT, PROP_EULER); | prop = RNA_def_property(srna, "rotation", PROP_FLOAT, PROP_EULER); | ||||
| RNA_def_property_float_sdna(prop, NULL, "rot"); | RNA_def_property_float_sdna(prop, NULL, "rot"); | ||||
| RNA_def_property_ui_text(prop, "Rotation", "Value for chages in rotation"); | RNA_def_property_ui_text(prop, "Rotation", "Value for changes in rotation"); | ||||
| RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, RNA_TRANSLATION_PREC_DEFAULT); | RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 1, RNA_TRANSLATION_PREC_DEFAULT); | ||||
| RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); | ||||
| Context not available. | |||||