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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-04 19:13:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-04 19:13:37 +0400
commit25976b7b87a6e4a2fdf0d78db9a996c0c7621b8a (patch)
tree44bc5ca049c056b0e328659c8e0cbd175aaf0c45 /source/blender/editors/mesh
parent8d1a04a2bb0b5ff894fd7ed5ee72c56e01df36fd (diff)
crash fix: screen context editable_bones & visible_bones were not checking for armature type object first.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_lib.c b/source/blender/editors/mesh/editmesh_lib.c
index b2ff8306526..7edbac3ebd2 100644
--- a/source/blender/editors/mesh/editmesh_lib.c
+++ b/source/blender/editors/mesh/editmesh_lib.c
@@ -2006,8 +2006,8 @@ void recalc_editnormals(EditMesh *em)
zero_v3(eve->no);
for(efa= em->faces.first; efa; efa=efa->next) {
- float *n4= (efa->v4)? efa->v4->no: NULL;
- float *c4= (efa->v4)? efa->v4->co: NULL;
+ // float *n4= (efa->v4)? efa->v4->no: NULL;
+ // float *c4= (efa->v4)? efa->v4->co: NULL;
if(efa->v4) {
normal_quad_v3(efa->n, efa->v1->co, efa->v2->co, efa->v3->co, efa->v4->co);