Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 6,123 Lines • ▼ Show 20 Lines | static const EnumPropertyItem read_flag_items[] = { | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| prop = RNA_def_property(srna, "read_data", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "read_data", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_flag(prop, PROP_ENUM_FLAG); | RNA_def_property_flag(prop, PROP_ENUM_FLAG); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "read_flag"); | RNA_def_property_enum_sdna(prop, NULL, "read_flag"); | ||||
| RNA_def_property_enum_items(prop, read_flag_items); | RNA_def_property_enum_items(prop, read_flag_items); | ||||
| RNA_def_property_ui_text(prop, "Read Data", "Data to read from the cache"); | RNA_def_property_ui_text(prop, "Read Data", "Data to read from the cache"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "may_interpolate_vertices", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "read_flag", MOD_MESHSEQ_INTERPOLATE_VERTICES); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Vertex Interpolation", "Allow interpolation of vertex positions."); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "velocity_scale", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "velocity_scale", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "velocity_scale"); | RNA_def_property_float_sdna(prop, NULL, "velocity_scale"); | ||||
| RNA_def_property_range(prop, 0.0f, FLT_MAX); | RNA_def_property_range(prop, 0.0f, FLT_MAX); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Velocity Scale", | "Velocity Scale", | ||||
| ▲ Show 20 Lines • Show All 969 Lines • Show Last 20 Lines | |||||