[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50768] trunk/blender/source/blender/ editors/mesh/editmesh_select.c: fix [#32604] Loop select broken with Clipped view and wireframe
Campbell Barton
ideasman42 at gmail.com
Thu Sep 20 05:45:26 CEST 2012
Revision: 50768
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50768
Author: campbellbarton
Date: 2012-09-20 03:45:18 +0000 (Thu, 20 Sep 2012)
Log Message:
-----------
fix [#32604] Loop select broken with Clipped view and wireframe
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_select.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_select.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_select.c 2012-09-20 02:27:34 UTC (rev 50767)
+++ trunk/blender/source/blender/editors/mesh/editmesh_select.c 2012-09-20 03:45:18 UTC (rev 50768)
@@ -487,7 +487,6 @@
vec[0] = eed->v1->co[0] + labda * (eed->v2->co[0] - eed->v1->co[0]);
vec[1] = eed->v1->co[1] + labda * (eed->v2->co[1] - eed->v1->co[1]);
vec[2] = eed->v1->co[2] + labda * (eed->v2->co[2] - eed->v1->co[2]);
- mul_m4_v3(data->vc.obedit->obmat, vec);
if (ED_view3d_clipping_test(data->vc.rv3d, vec, TRUE) == 0) {
data->dist = distance;
@@ -531,7 +530,7 @@
data.closest = NULL;
ED_view3d_init_mats_rv3d(vc->obedit, vc->rv3d);
- mesh_foreachScreenEdge(vc, findnearestedge__doClosest, &data, 2);
+ mesh_foreachScreenEdge(vc, findnearestedge__doClosest, &data, V3D_CLIP_TEST_REGION);
*dist = data.dist;
return data.closest;
More information about the Bf-blender-cvs
mailing list