Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
| Context not available. | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "gridflag", V3D_SHOW_FLOOR); | RNA_def_property_boolean_sdna(prop, NULL, "gridflag", V3D_SHOW_FLOOR); | ||||
| RNA_def_property_ui_text(prop, "Display Grid Floor", "Show the ground plane grid in perspective view"); | RNA_def_property_ui_text(prop, "Display Grid Floor", "Show the ground plane grid in perspective view"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); | ||||
| prop = RNA_def_property(srna, "show_cursor", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "flag3", V3D_HIDE_CURSOR); | |||||
| RNA_def_property_ui_text(prop, "Display 3D Cursor", "Show the 3D Cursor"); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); | |||||
| prop = RNA_def_property(srna, "show_axis_x", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_axis_x", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "gridflag", V3D_SHOW_X); | RNA_def_property_boolean_sdna(prop, NULL, "gridflag", V3D_SHOW_X); | ||||
| RNA_def_property_ui_text(prop, "Display X Axis", "Show the X axis line in perspective view"); | RNA_def_property_ui_text(prop, "Display X Axis", "Show the X axis line in perspective view"); | ||||
| Context not available. | |||||