From ece72e15d5789bcb5e9a140131768863d724cff4 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 16 Jan 2019 15:18:44 +0100 Subject: Preferences: remove OpenGL select method preference. Deprecated GL_SELECT no longer works in OpenGL core profile, so there is no reason to have this. --- source/blender/makesdna/DNA_userdef_types.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source/blender/makesdna/DNA_userdef_types.h') diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index be172d6d418..f2716677593 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -683,9 +683,8 @@ typedef struct UserDef { char ipo_new; /** Handle types for newly added keyframes. */ char keyhandles_new; - char gpu_select_method; char gpu_select_pick_deph; - char pad0; + char pad0[2]; /** #eZoomFrame_Mode. */ char view_frame_type; @@ -996,13 +995,6 @@ typedef enum eDupli_ID_Flags { USER_DUP_PSYS = (1 << 11), } eDupli_ID_Flags; -/* selection method for opengl gpu_select_method */ -typedef enum eOpenGL_SelectOptions { - USER_SELECT_AUTO = 0, - USER_SELECT_USE_OCCLUSION_QUERY = 1, - USER_SELECT_USE_SELECT_RENDERMODE = 2, -} eOpenGL_SelectOptions; - /* max anti alias draw method UserDef.gpu_viewport_antialias */ typedef enum eOpenGL_AntiAliasMethod { USER_AA_NONE = 0, -- cgit v1.2.3