Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_mesh.c
| Show First 20 Lines • Show All 3,214 Lines • ▼ Show 20 Lines | static void rna_def_skin_vertices(BlenderRNA *brna, PropertyRNA *UNUSED(cprop)) | ||||
| RNA_def_property_ui_range(prop, 0.001, 100.0, 1, 3); | RNA_def_property_ui_range(prop, 0.001, 100.0, 1, 3); | ||||
| RNA_def_property_ui_text(prop, "Radius", "Radius of the skin"); | RNA_def_property_ui_text(prop, "Radius", "Radius of the skin"); | ||||
| RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); | RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); | ||||
| /* Flags */ | /* Flags */ | ||||
| prop = RNA_def_property(srna, "use_root", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_root", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MVERT_SKIN_ROOT); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MVERT_SKIN_ROOT); | ||||
| RNA_def_property_ui_text(prop, "Root", "Vertex is a root for rotation calculations and armature generation"); | RNA_def_property_ui_text(prop, "Root", | ||||
| "Vertex is a root for rotation calculations and armature generation, " | |||||
| "setting this flag does not clear other roots in the same mesh island"); | |||||
| RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); | RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); | ||||
| prop = RNA_def_property(srna, "use_loose", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_loose", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MVERT_SKIN_LOOSE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MVERT_SKIN_LOOSE); | ||||
| RNA_def_property_ui_text(prop, "Loose", "If vertex has multiple adjacent edges, it is hulled to them directly"); | RNA_def_property_ui_text(prop, "Loose", "If vertex has multiple adjacent edges, it is hulled to them directly"); | ||||
| RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); | RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 501 Lines • Show Last 20 Lines | |||||