Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sculpt_paint.c
| Show First 20 Lines • Show All 1,414 Lines • ▼ Show 20 Lines | static void rna_def_gpencil_sculpt(BlenderRNA *brna) | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_ui_text(prop, "Brush", ""); | RNA_def_property_ui_text(prop, "Brush", ""); | ||||
| prop = RNA_def_property(srna, "guide", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "guide", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "GPencilSculptGuide"); | RNA_def_property_struct_type(prop, "GPencilSculptGuide"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_ui_text(prop, "Guide", ""); | RNA_def_property_ui_text(prop, "Guide", ""); | ||||
| prop = RNA_def_property(srna, "use_select_mask", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SCULPT_SETT_FLAG_SELECT_MASK); | |||||
| RNA_def_property_ui_text(prop, "Selection Mask", "Only sculpt selected stroke points"); | |||||
| RNA_def_property_ui_icon(prop, ICON_GP_ONLY_SELECTED, 0); | |||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); | |||||
| prop = RNA_def_property(srna, "use_edit_position", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_edit_position", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SCULPT_SETT_FLAG_APPLY_POSITION); | RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SCULPT_SETT_FLAG_APPLY_POSITION); | ||||
| RNA_def_property_ui_text(prop, "Affect Position", "The brush affects the position of the point"); | RNA_def_property_ui_text(prop, "Affect Position", "The brush affects the position of the point"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| 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, "use_edit_strength", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_edit_strength", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SCULPT_SETT_FLAG_APPLY_STRENGTH); | RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_SCULPT_SETT_FLAG_APPLY_STRENGTH); | ||||
| ▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines | |||||