bugfix for exitmode verts being unselectable. caused by view3d_project_short_clip...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 11 Oct 2009 19:57:56 +0000 (19:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 11 Oct 2009 19:57:56 +0000 (19:57 +0000)
commitdff1738765aba649b07f3174ed807e7df8e38eee
tree0b71525891f28b3c1a1284b0c8d0f357755c5248
parentefed73598f7d571aa57468b31748c5777dbfc41f
bugfix for exitmode verts being unselectable. caused by view3d_project_short_clip/noclip being used by selecton code outside of object drawing (which isnt supposed to happen according to view3d_project_short_* comments).

Deal with this by adding ED_view3d_init_mats_rv3d(ob, r3d) which initialized the region mat's and is used in mesh_foreachScreenVert, mesh_foreachScreenEdge etc.
source/blender/editors/include/ED_view3d.h
source/blender/editors/mesh/editmesh.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/space_view3d.c