Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_mesh.c
| Show First 20 Lines • Show All 3,082 Lines • ▼ Show 20 Lines | |||||
| # endif | # endif | ||||
| /* editflag */ | /* editflag */ | ||||
| prop = RNA_def_property(srna, "use_mirror_x", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_x", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_X); | RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_X); | ||||
| RNA_def_property_ui_text(prop, "X Mirror", "X Axis mirror editing"); | RNA_def_property_ui_text(prop, "X Mirror", "X Axis mirror editing"); | ||||
| RNA_def_property_update(prop, 0, "rna_Mesh_update_draw"); | RNA_def_property_update(prop, 0, "rna_Mesh_update_draw"); | ||||
| # if 0 | |||||
| prop = RNA_def_property(srna, "use_mirror_y", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_y", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_Y); | RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_Y); | ||||
| RNA_def_property_ui_text(prop, "Y Mirror", "Y Axis mirror editing"); | RNA_def_property_ui_text(prop, "Y Mirror", "Y Axis mirror editing"); | ||||
| prop = RNA_def_property(srna, "use_mirror_z", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_z", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_Z); | RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_Z); | ||||
| RNA_def_property_ui_text(prop, "Z Mirror", "Z Axis mirror editing"); | RNA_def_property_ui_text(prop, "Z Mirror", "Z Axis mirror editing"); | ||||
| # endif | |||||
| prop = RNA_def_property(srna, "use_mirror_topology", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_mirror_topology", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_TOPO); | RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_MIRROR_TOPO); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Topology Mirror", | "Topology Mirror", | ||||
| "Use topology based mirroring " | "Use topology based mirroring " | ||||
| "(for when both sides of mesh have matching, unique topology)"); | "(for when both sides of mesh have matching, unique topology)"); | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||