Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_brush.c
| Show First 20 Lines • Show All 2,319 Lines • ▼ Show 20 Lines | RNA_def_property_ui_text(prop, | ||||
| "Affect only vertices that share Face Sets with the active vertex"); | "Affect only vertices that share Face Sets with the active vertex"); | ||||
| RNA_def_property_update(prop, 0, "rna_Brush_update"); | RNA_def_property_update(prop, 0, "rna_Brush_update"); | ||||
| prop = RNA_def_property(srna, "use_automasking_boundary_edges", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_automasking_boundary_edges", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_BOUNDARY_EDGES); | RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_BOUNDARY_EDGES); | ||||
| RNA_def_property_ui_text(prop, "Edges Automasking", "Do not affect non manifold boundary edges"); | RNA_def_property_ui_text(prop, "Edges Automasking", "Do not affect non manifold boundary edges"); | ||||
| RNA_def_property_update(prop, 0, "rna_Brush_update"); | RNA_def_property_update(prop, 0, "rna_Brush_update"); | ||||
| prop = RNA_def_property(srna, "use_automasking_boundary_face_sets", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna( | |||||
| prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_BOUNDARY_FACE_SETS); | |||||
| RNA_def_property_ui_text(prop, | |||||
| "Face Sets Boundary Automasking", | |||||
| "Do not affect vertices that belong to a Face Set boundary"); | |||||
| RNA_def_property_update(prop, 0, "rna_Brush_update"); | |||||
| prop = RNA_def_property(srna, "use_scene_spacing", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "use_scene_spacing", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); | RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); | ||||
| RNA_def_property_enum_items(prop, brush_spacing_unit_items); | RNA_def_property_enum_items(prop, brush_spacing_unit_items); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Spacing Distance", "Calculate the brush spacing using view or scene distance"); | prop, "Spacing Distance", "Calculate the brush spacing using view or scene distance"); | ||||
| RNA_def_property_update(prop, 0, "rna_Brush_update"); | RNA_def_property_update(prop, 0, "rna_Brush_update"); | ||||
| prop = RNA_def_property(srna, "use_grab_active_vertex", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_grab_active_vertex", PROP_BOOLEAN, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 478 Lines • Show Last 20 Lines | |||||