From 9c9f5dc81faf81ef7072799b3eb71d1dfaf1bec7 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 4 Jul 2006 19:22:14 +0000 Subject: Fix for bug #4607: - Crash in recalc normals with vertices in infinity. --- source/blender/src/editmesh_mods.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source') diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c index a69e3d3ca6e..767f9f5aa90 100644 --- a/source/blender/src/editmesh_mods.c +++ b/source/blender/src/editmesh_mods.c @@ -2664,6 +2664,9 @@ void righthandfaces(int select) /* makes faces righthand turning */ } efa= efa->next; } + + if (startvl==NULL) + startvl= em->faces.first; /* set first face correct: calc normal */ -- cgit v1.2.3