294
300
RNA_def_property_flag(prop, PROP_EDITABLE);
295
301
RNA_def_property_pointer_funcs(prop, NULL, NULL, NULL, "rna_Brush_mode_poll");
296
302
RNA_def_property_ui_text(prop, "Brush", "Active Brush");
299
305
prop = RNA_def_property(srna, "show_brush", PROP_BOOLEAN, PROP_NONE);
300
306
RNA_def_property_boolean_sdna(prop, NULL, "flags", PAINT_SHOW_BRUSH);