Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-16 17:18:44 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-16 18:16:42 +0300
commitece72e15d5789bcb5e9a140131768863d724cff4 (patch)
tree9f6b7885312be62fb0640dbf65f2bae844f1b24f /source/blender/makesrna
parent49562da98d81a0a3d2a4c94b1138be9272587c91 (diff)
Preferences: remove OpenGL select method preference.
Deprecated GL_SELECT no longer works in OpenGL core profile, so there is no reason to have this.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 12de47acd1f..e0a15422b29 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -4354,13 +4354,6 @@ static void rna_def_userdef_system(BlenderRNA *brna)
{0, NULL, 0, NULL, NULL}
};
- static const EnumPropertyItem gpu_select_method_items[] = {
- {USER_SELECT_AUTO, "AUTO", 0, "Automatic", ""},
- {USER_SELECT_USE_SELECT_RENDERMODE, "GL_SELECT", 0, "OpenGL Select", ""},
- {USER_SELECT_USE_OCCLUSION_QUERY, "GL_QUERY", 0, "OpenGL Occlusion Queries", ""},
- {0, NULL, 0, NULL, NULL}
- };
-
srna = RNA_def_struct(brna, "PreferencesSystem", NULL);
RNA_def_struct_sdna(srna, "UserDef");
RNA_def_struct_nested(brna, srna, "Preferences");
@@ -4503,12 +4496,6 @@ static void rna_def_userdef_system(BlenderRNA *brna)
/* Select */
- 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_items(prop, gpu_select_method_items);
- RNA_def_property_ui_text(prop, "Selection Method",
- "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");