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:
authorTon Roosendaal <ton@blender.org>2005-06-17 01:19:13 +0400
committerTon Roosendaal <ton@blender.org>2005-06-17 01:19:13 +0400
commit49d38efe7e3e700d057bacc9525294192328f21c (patch)
treec7df71b10017ec1bc43c15d0790b71970a82a105 /source
parent401dfba3051856906c487c4adb85b09358d57f7d (diff)
With no objects in scene, press F (ALT+F) for faceselect crashed.
Bugfix #2755
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 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 {