Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sculpt_paint.c
| Show First 20 Lines • Show All 875 Lines • ▼ Show 20 Lines | static void rna_def_sculpt(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, "Gravity", "Amount of gravity after each dab"); | RNA_def_property_ui_text(prop, "Gravity", "Amount of gravity after each dab"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | ||||
| prop = RNA_def_property(srna, "gravity_object", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "gravity_object", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Orientation", "Object whose Z axis defines orientation of gravity"); | prop, "Orientation", "Object whose Z axis defines orientation of gravity"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | ||||
| prop = RNA_def_property(srna, "filter_texture", PROP_POINTER, PROP_NONE); | |||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Filter Texture", "Texture used to mask the operation of a sculpt filter"); | |||||
| RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | |||||
| } | } | ||||
| static void rna_def_uv_sculpt(BlenderRNA *brna) | static void rna_def_uv_sculpt(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| srna = RNA_def_struct(brna, "UvSculpt", "Paint"); | srna = RNA_def_struct(brna, "UvSculpt", "Paint"); | ||||
| RNA_def_struct_path_func(srna, "rna_UvSculpt_path"); | RNA_def_struct_path_func(srna, "rna_UvSculpt_path"); | ||||
| ▲ Show 20 Lines • Show All 633 Lines • Show Last 20 Lines | |||||