[#27615] Box select of mesh object disabled or translated due to curve object
authorCampbell Barton <ideasman42@gmail.com>
Thu, 9 Jun 2011 03:56:32 +0000 (03:56 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 9 Jun 2011 03:56:32 +0000 (03:56 +0000)
commit912db4cdb571d6421cb8c018a0db4fa93984549c
treeb75063ff1f4bb6e1a84c4f830973fcf66cb85f0a
parente7e1bc4ca1bb1194f26d965270b76734d2cc91bd
[#27615] Box select of mesh object disabled or translated due to curve object

ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously).
Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_select.c