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>2006-07-04 23:22:14 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-07-04 23:22:14 +0400
commit9c9f5dc81faf81ef7072799b3eb71d1dfaf1bec7 (patch)
tree880c9453363c830951f09279b13d8f1878e19179 /source
parentbdafdaa17109f128ce963979277666ebc18e21b1 (diff)
Fix for bug #4607:
- Crash in recalc normals with vertices in infinity.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editmesh_mods.c3
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 */