3D View: wrap GPU_select cache calls
authorCampbell Barton <ideasman42@gmail.com>
Thu, 9 Mar 2017 09:47:37 +0000 (20:47 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 9 Mar 2017 09:47:37 +0000 (20:47 +1100)
commit88e8e7a0749e8c8d077ec70c91e6ca9674d239f5
treee4eb50c14b1c029095df243a73aa1efa6fedf922
parent4ab322fdd2e019ba337b2560a2d36f2175c03a32
3D View: wrap GPU_select cache calls

Avoids including GPU_select and makes it more clear that the cache is
needed for view3d_opengl_select calls.

Also use typed enum for select mode.
source/blender/editors/armature/armature_select.c
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/view3d_select.c
source/blender/editors/space_view3d/view3d_view.c