diff options
author | Ton Roosendaal <ton@blender.org> | 2005-06-17 01:19:13 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-06-17 01:19:13 +0400 |
commit | 49d38efe7e3e700d057bacc9525294192328f21c (patch) | |
tree | c7df71b10017ec1bc43c15d0790b71970a82a105 /source/blender/src/editface.c | |
parent | 401dfba3051856906c487c4adb85b09358d57f7d (diff) |
With no objects in scene, press F (ALT+F) for faceselect crashed.
Bugfix #2755
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 c22a6d9bd0d..11887003e12 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -1202,7 +1202,7 @@ void set_faceselect() /* toggle */ Mesh *me = 0; scrarea_queue_headredraw(curarea); - if(ob->id.lib) return; + if(ob==NULL || ob->id.lib) return; if(G.f & G_FACESELECT) G.f &= ~G_FACESELECT; else { |