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 2,698 Lines • ▼ Show 20 Lines | RNA_def_property_ui_text( | ||||
| prop, "Pixel Coordinates", "Display UV coordinates in pixels rather than from 0.0 to 1.0"); | prop, "Pixel Coordinates", "Display UV coordinates in pixels rather than from 0.0 to 1.0"); | ||||
| 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_faces", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_faces", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SI_NO_DRAWFACES); | RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SI_NO_DRAWFACES); | ||||
| RNA_def_property_ui_text(prop, "Display Faces", "Display faces over the image"); | RNA_def_property_ui_text(prop, "Display Faces", "Display faces over the image"); | ||||
| 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_edges", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SI_NO_DRAWEDGES); | |||||
| RNA_def_property_ui_text(prop, "Display Edges", "Display edges in vertex select mode"); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL); | |||||
| /* todo: move edge and face drawing options here from G.f */ | /* todo: move edge and face drawing options here from G.f */ | ||||
Blendify: This comment should be updated | |||||
| prop = RNA_def_property(srna, "pixel_snap_mode", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "pixel_snap_mode", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, pixel_snap_mode_items); | RNA_def_property_enum_items(prop, pixel_snap_mode_items); | ||||
| RNA_def_property_ui_text(prop, "Snap to Pixels", "Snap UVs to pixels while editing"); | RNA_def_property_ui_text(prop, "Snap to Pixels", "Snap UVs to pixels while editing"); | ||||
| 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, "lock_bounds", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "lock_bounds", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SI_CLIP_UV); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SI_CLIP_UV); | ||||
| ▲ Show 20 Lines • Show All 3,520 Lines • Show Last 20 Lines | |||||
This comment should be updated