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:
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 61c85cf8e66..e59555a02dd 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1040,7 +1040,7 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
allqueue(REDRAWHEADERS, 0);
}
else if(G.qual & LR_SHIFTKEY) {
- if(ob->type == OB_MESH) {
+ if(ob && ob->type == OB_MESH) {
flip_subdivison(ob, 0);
}
}