Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_dynamicpaint.c
| Show First 20 Lines • Show All 419 Lines • ▼ Show 20 Lines | #endif | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaintSurface_changePreview"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaintSurface_changePreview"); | ||||
| prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE); | prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE); | ||||
| RNA_def_property_ui_text(prop, "Name", "Surface name"); | RNA_def_property_ui_text(prop, "Name", "Surface name"); | ||||
| RNA_def_property_update(prop, NC_OBJECT, "rna_DynamicPaintSurface_uniqueName"); | RNA_def_property_update(prop, NC_OBJECT, "rna_DynamicPaintSurface_uniqueName"); | ||||
| RNA_def_struct_name_property(srna, prop); | RNA_def_struct_name_property(srna, prop); | ||||
| prop = RNA_def_property(srna, "brush_group", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "brush_group", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "Group"); | RNA_def_property_struct_type(prop, "Collection"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Brush Group", "Only use brush objects from this group"); | RNA_def_property_ui_text(prop, "Brush Collection", "Only use brush objects from this collection"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaint_reset_dependency"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_DynamicPaint_reset_dependency"); | ||||
| /* | /* | ||||
| * Paint, wet and displace | * Paint, wet and displace | ||||
| */ | */ | ||||
| prop = RNA_def_property(srna, "use_dissolve", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_dissolve", PROP_BOOLEAN, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 565 Lines • Show Last 20 Lines | |||||