diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-07-04 23:22:14 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-07-04 23:22:14 +0400 |
commit | 9c9f5dc81faf81ef7072799b3eb71d1dfaf1bec7 (patch) | |
tree | 880c9453363c830951f09279b13d8f1878e19179 /source/blender/src/editmesh_mods.c | |
parent | bdafdaa17109f128ce963979277666ebc18e21b1 (diff) |
Fix for bug #4607:
- Crash in recalc normals with vertices in infinity.
Diffstat (limited to 'source/blender/src/editmesh_mods.c')
-rw-r--r-- | source/blender/src/editmesh_mods.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |