Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sculpt_paint.c
| Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_DRAW_PART); | RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_DRAW_PART); | ||||
| RNA_def_property_ui_text(prop, "Display Particles", "Display actual particles"); | RNA_def_property_ui_text(prop, "Display Particles", "Display actual particles"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_ParticleEdit_redo"); | RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_ParticleEdit_redo"); | ||||
| prop = RNA_def_property(srna, "use_default_interpolate", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_default_interpolate", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_INTERPOLATE_ADDED); | RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_INTERPOLATE_ADDED); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Interpolate", "Interpolate new particles from the existing ones"); | prop, "Interpolate", "Interpolate new particles from the existing ones"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | |||||
| prop = RNA_def_property(srna, "default_key_count", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "default_key_count", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "totaddkey"); | RNA_def_property_int_sdna(prop, NULL, "totaddkey"); | ||||
| RNA_def_property_range(prop, 2, SHRT_MAX); | RNA_def_property_range(prop, 2, SHRT_MAX); | ||||
| RNA_def_property_ui_range(prop, 2, 20, 10, 3); | RNA_def_property_ui_range(prop, 2, 20, 10, 3); | ||||
| RNA_def_property_ui_text(prop, "Keys", "How many keys to make new particles with"); | RNA_def_property_ui_text(prop, "Keys", "How many keys to make new particles with"); | ||||
| prop = RNA_def_property(srna, "brush", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "brush", PROP_POINTER, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 304 Lines • Show Last 20 Lines | |||||