Revision: 56977 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56977 Author: ton Date: 2013-05-23 16:01:25 +0000 (Thu, 23 May 2013) Log Message: ----------- 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 Modified Paths: -------------- trunk/blender/source/blender/bmesh/intern/bmesh_walkers_impl.c Modified: trunk/blender/source/blender/bmesh/intern/bmesh_walkers_impl.c =================================================================== --- trunk/blender/source/blender/bmesh/intern/bmesh_walkers_impl.c 2013-05-23 15:10:36 UTC (rev 56976) +++ trunk/blender/source/blender/bmesh/intern/bmesh_walkers_impl.c 2013-05-23 16:01:25 UTC (rev 56977) @@ -648,7 +648,7 @@ } 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; } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs