Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 4,174 Lines • ▼ Show 20 Lines | #endif | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_text_update"); | RNA_def_property_update(prop, 0, "rna_userdef_text_update"); | ||||
| prop = RNA_def_property(srna, "select_method", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "select_method", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "gpu_select_method"); | RNA_def_property_enum_sdna(prop, NULL, "gpu_select_method"); | ||||
| RNA_def_property_enum_items(prop, gpu_select_method_items); | RNA_def_property_enum_items(prop, gpu_select_method_items); | ||||
| RNA_def_property_ui_text(prop, "Selection Method", | RNA_def_property_ui_text(prop, "Selection Method", | ||||
| "Use OpenGL occlusion queries or selection render mode to accelerate selection"); | "Use OpenGL occlusion queries or selection render mode to accelerate selection"); | ||||
| prop = RNA_def_property(srna, "use_select_pick_depth", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "gpu_select_pick_deph", 1); | |||||
| RNA_def_property_ui_text(prop, "OpenGL Depth Picking", "Use the depth buffer for picking 3D View selection"); | |||||
| /* Full scene anti-aliasing */ | /* Full scene anti-aliasing */ | ||||
| prop = RNA_def_property(srna, "multi_sample", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "multi_sample", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_bitflag_sdna(prop, NULL, "ogl_multisamples"); | RNA_def_property_enum_bitflag_sdna(prop, NULL, "ogl_multisamples"); | ||||
| RNA_def_property_enum_items(prop, multi_sample_levels); | RNA_def_property_enum_items(prop, multi_sample_levels); | ||||
| RNA_def_property_ui_text(prop, "MultiSample", | RNA_def_property_ui_text(prop, "MultiSample", | ||||
| "Enable OpenGL multi-sampling, only for systems that support it, requires restart"); | "Enable OpenGL multi-sampling, only for systems that support it, requires restart"); | ||||
| prop = RNA_def_property(srna, "use_region_overlap", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_region_overlap", PROP_BOOLEAN, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 557 Lines • Show Last 20 Lines | |||||