Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-21 21:32:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-09-21 21:32:25 +0400
commitc8a977db78d860e0134004083ee5e49d38dbc239 (patch)
tree01c352328082fb081c8156b759f54215d472c0d8 /source
parentfe27bb6dd4d214519816e00bb8daefcc9bdb8637 (diff)
Fix #19426: loop select with occlude background geometry did not
work after subdivide operator, needed a check for valid backbuf.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/mesh/editmesh_mods.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c
index 09ea9088a16..3135863d571 100644
--- a/source/blender/editors/mesh/editmesh_mods.c
+++ b/source/blender/editors/mesh/editmesh_mods.c
@@ -2033,6 +2033,9 @@ static void mouse_mesh_loop(bContext *C, short mval[2], short extend, short ring
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 @@ static void mouse_mesh_shortest_path(bContext *C, short mval[2])
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;