Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
| Show First 20 Lines • Show All 1,555 Lines • ▼ Show 20 Lines | static void rna_def_modifier_mirror(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, "Z", "Enable Z axis mirror"); | RNA_def_property_ui_text(prop, "Z", "Enable Z axis mirror"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_clip", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_clip", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_CLIPPING); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_CLIPPING); | ||||
| RNA_def_property_ui_text(prop, "Clip", "Prevent vertices from going through the mirror during transform"); | RNA_def_property_ui_text(prop, "Clip", "Prevent vertices from going through the mirror during transform"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_bisect_x", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_BISECT_AXIS_X); | |||||
| RNA_def_property_ui_text(prop, "X", "Cuts the mesh across the mirrorplane"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "use_bisect_y", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_BISECT_AXIS_Y); | |||||
| RNA_def_property_ui_text(prop, "Y", "Cuts the mesh across the mirrorplane"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "use_bisect_z", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_BISECT_AXIS_Z); | |||||
| RNA_def_property_ui_text(prop, "Z", "Cuts the mesh across the mirrorplane"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "flip_x", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_FLIP_AXIS_X); | |||||
| RNA_def_property_ui_text(prop, "X", "Flips the direction of the slice"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "flip_y", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_FLIP_AXIS_Y); | |||||
| RNA_def_property_ui_text(prop, "Y", "Flips the direction of the slice"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "flip_z", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_FLIP_AXIS_Z); | |||||
| RNA_def_property_ui_text(prop, "Z", "Flips the direction of the slice"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "use_mirror_vertex_groups", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_vertex_groups", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_VGROUP); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_VGROUP); | ||||
| RNA_def_property_ui_text(prop, "Mirror Vertex Groups", "Mirror vertex groups (e.g. .R->.L)"); | RNA_def_property_ui_text(prop, "Mirror Vertex Groups", "Mirror vertex groups (e.g. .R->.L)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_mirror_merge", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_merge", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", MOD_MIR_NO_MERGE); | RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", MOD_MIR_NO_MERGE); | ||||
| RNA_def_property_ui_text(prop, "Merge Vertices", "Merge vertices within the merge threshold"); | RNA_def_property_ui_text(prop, "Merge Vertices", "Merge vertices within the merge threshold"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_world_origin", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_WORLD_ORIGIN); | |||||
| RNA_def_property_ui_text(prop, "World axis mirror", "Uses the world origin as mirror point"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| prop = RNA_def_property(srna, "use_mirror_u", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_u", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_MIRROR_U); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_MIRROR_U); | ||||
| RNA_def_property_ui_text(prop, "Mirror U", "Mirror the U texture coordinate around the flip offset point"); | RNA_def_property_ui_text(prop, "Mirror U", "Mirror the U texture coordinate around the flip offset point"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_mirror_v", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_v", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_MIRROR_V); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_MIRROR_V); | ||||
| RNA_def_property_ui_text(prop, "Mirror V", "Mirror the V texture coordinate around the flip offset point"); | RNA_def_property_ui_text(prop, "Mirror V", "Mirror the V texture coordinate around the flip offset point"); | ||||
| ▲ Show 20 Lines • Show All 3,576 Lines • Show Last 20 Lines | |||||