Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_brush.c
| Show First 20 Lines • Show All 1,999 Lines • ▼ Show 20 Lines | RNA_def_property_update( | ||||
| prop, NC_GPENCIL | ND_DATA, "rna_BrushGpencilSettings_use_material_pin_update"); | prop, NC_GPENCIL | ND_DATA, "rna_BrushGpencilSettings_use_material_pin_update"); | ||||
| prop = RNA_def_property(srna, "show_lasso", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_lasso", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_BRUSH_DISSABLE_LASSO); | RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_BRUSH_DISSABLE_LASSO); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Show Lasso", "Do not display fill color while drawing the stroke"); | prop, "Show Lasso", "Do not display fill color while drawing the stroke"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| prop = RNA_def_property(srna, "show_brush_size", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_BRUSH_SHOW_DRAW_SIZE); | |||||
| RNA_def_property_boolean_default(prop, true); | |||||
| RNA_def_property_ui_text(prop, "Show Brush Size", "Show the real size of the draw brush"); | |||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| prop = RNA_def_property(srna, "use_occlude_eraser", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_occlude_eraser", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_BRUSH_OCCLUDE_ERASER); | RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_BRUSH_OCCLUDE_ERASER); | ||||
| RNA_def_property_ui_text(prop, "Occlude Eraser", "Erase only strokes visible and not occluded"); | RNA_def_property_ui_text(prop, "Occlude Eraser", "Erase only strokes visible and not occluded"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| } | } | ||||
| static void rna_def_curves_sculpt_options(BlenderRNA *brna) | static void rna_def_curves_sculpt_options(BlenderRNA *brna) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 1,805 Lines • Show Last 20 Lines | |||||