Revision: 23406
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23406
Author: blendix
Date: 2009-09-21 19:32:25 +0200 (Mon, 21 Sep 2009)
Log Message:
-----------
Fix #19426: loop select with occlude background geometry did not
work after subdivide operator, needed a check for valid backbuf.
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_mods.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_mods.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_mods.c 2009-09-21
17:00:22 UTC (rev 23405)
+++ trunk/blender/source/blender/editors/mesh/editmesh_mods.c 2009-09-21
17:32:25 UTC (rev 23406)
@@ -2033,6 +2033,9 @@
vc.mval[0]= mval[0];
vc.mval[1]= mval[1];
em= vc.em;
+
+ /* no afterqueue (yet), so we check it now, otherwise the em_xxxofs
indices are bad */
+ view3d_validate_backbuf(&vc);
eed= findnearestedge(&vc, &dist);
if(eed) {
@@ -2110,6 +2113,9 @@
vc.mval[1]= mval[1];
em= vc.em;
+ /* no afterqueue (yet), so we check it now, otherwise the em_xxxofs
indices are bad */
+ view3d_validate_backbuf(&vc);
+
eed= findnearestedge(&vc, &dist);
if(eed) {
Mesh *me= vc.obedit->data;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs