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:
authorJoilnen Leite <joilnen.leite@gmail.com>2006-08-08 21:07:39 +0400
committerJoilnen Leite <joilnen.leite@gmail.com>2006-08-08 21:07:39 +0400
commit27925d1bf0ec3f4d0bc64c3096a90bb54a91fffe (patch)
treeb98fba54626f2143a494abbe68a6a960eed24eb9 /source
parentb44ae44c720128319a80709bda5071c0494beba8 (diff)
fix for bug 4819
.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editface.c2
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) {