Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_brush.c
| Show First 20 Lines • Show All 3,610 Lines • ▼ Show 20 Lines | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "ob_mode", OB_MODE_PAINT_GPENCIL); | RNA_def_property_boolean_sdna(prop, NULL, "ob_mode", OB_MODE_PAINT_GPENCIL); | ||||
| RNA_def_property_ui_text(prop, "Use Paint", "Use this brush in grease pencil drawing mode"); | RNA_def_property_ui_text(prop, "Use Paint", "Use this brush in grease pencil drawing mode"); | ||||
| prop = RNA_def_property(srna, "use_vertex_grease_pencil", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_vertex_grease_pencil", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "ob_mode", OB_MODE_VERTEX_GPENCIL); | RNA_def_property_boolean_sdna(prop, NULL, "ob_mode", OB_MODE_VERTEX_GPENCIL); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Use Vertex", "Use this brush in grease pencil vertex color mode"); | prop, "Use Vertex", "Use this brush in grease pencil vertex color mode"); | ||||
| prop = RNA_def_property(srna, "use_paint_sculpt_curves", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "ob_mode", OB_MODE_SCULPT_CURVES); | |||||
| RNA_def_property_ui_text(prop, "Use Sculpt", "Use this brush in sculpt curves mode"); | |||||
| /* texture */ | /* texture */ | ||||
| prop = RNA_def_property(srna, "texture_slot", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "texture_slot", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "BrushTextureSlot"); | RNA_def_property_struct_type(prop, "BrushTextureSlot"); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "mtex"); | RNA_def_property_pointer_sdna(prop, NULL, "mtex"); | ||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | RNA_def_property_clear_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Texture Slot", ""); | RNA_def_property_ui_text(prop, "Texture Slot", ""); | ||||
| prop = RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines | |||||