diff options
author | Joilnen Leite <joilnen.leite@gmail.com> | 2006-08-08 21:07:39 +0400 |
---|---|---|
committer | Joilnen Leite <joilnen.leite@gmail.com> | 2006-08-08 21:07:39 +0400 |
commit | 27925d1bf0ec3f4d0bc64c3096a90bb54a91fffe (patch) | |
tree | b98fba54626f2143a494abbe68a6a960eed24eb9 /source/blender/src/editface.c | |
parent | b44ae44c720128319a80709bda5071c0494beba8 (diff) |
fix for bug 4819
.
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r-- | source/blender/src/editface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index e32971b4070..b97b89cbe5a 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -122,7 +122,7 @@ /* returns 0 if not found, otherwise 1 */ int facesel_face_pick(Mesh *me, short *mval, unsigned int *index, short rect) { - if (!me->tface || me->totface==0) + if (!me || !me->tface || me->totface==0) return 0; if (G.vd->flag & V3D_NEEDBACKBUFDRAW) { |