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:
authorTon Roosendaal <ton@blender.org>2013-05-23 20:01:25 +0400
committerTon Roosendaal <ton@blender.org>2013-05-23 20:01:25 +0400
commitec834f823469aebee0bd58dd6c72a6f1033f3a32 (patch)
tree196a9a54bf32378d8e45092fc579eb65f8a69e1e /source
parentb6a4ea3d95b7a04c55432f417fb307e288080714 (diff)
Bug fix, IRC report.
Mesh with very strange topology makes loop-select (ALT+select) crash. Missing NULL check for do-while loop that can return NULL. For Campbell: here's the file to check: http://www.pasteall.org/blend/21576
Diffstat (limited to 'source')
-rw-r--r--source/blender/bmesh/intern/bmesh_walkers_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_walkers_impl.c b/source/blender/bmesh/intern/bmesh_walkers_impl.c
index 5f5a3f9d5b4..495f1c9648b 100644
--- a/source/blender/bmesh/intern/bmesh_walkers_impl.c
+++ b/source/blender/bmesh/intern/bmesh_walkers_impl.c
@@ -648,7 +648,7 @@ static void *bmw_LoopWalker_step(BMWalker *walker)
} while (true);
}
- if (owalk.is_single == false && bm_edge_is_single(l->e)) {
+ if (owalk.is_single == false && l && bm_edge_is_single(l->e)) {
l = NULL;
}