Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 3,540 Lines • ▼ Show 20 Lines | RNA_def_property_ui_text( | ||||
| "Display faces colored according to the difference in shape between UVs and " | "Display faces colored according to the difference in shape between UVs and " | ||||
| "their 3D coordinates (blue for low distortion, red for high distortion)"); | "their 3D coordinates (blue for low distortion, red for high distortion)"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | ||||
| prop = RNA_def_property(srna, "display_stretch_type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "display_stretch_type", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "dt_uvstretch"); | RNA_def_property_enum_sdna(prop, NULL, "dt_uvstretch"); | ||||
| RNA_def_property_enum_items(prop, dt_uvstretch_items); | RNA_def_property_enum_items(prop, dt_uvstretch_items); | ||||
| RNA_def_property_ui_text(prop, "Display Stretch Type", "Type of stretch to display"); | RNA_def_property_ui_text(prop, "Display Stretch Type", "Type of stretch to display"); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MESH); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | ||||
| prop = RNA_def_property(srna, "show_modified_edges", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_modified_edges", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SI_DRAWSHADOW); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SI_DRAWSHADOW); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Display Modified Edges", "Display edges after modifiers are applied"); | prop, "Display Modified Edges", "Display edges after modifiers are applied"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | ||||
| ▲ Show 20 Lines • Show All 4,503 Lines • Show Last 20 Lines | |||||