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:
authorStefan Gartner <stefang@aon.at>2003-07-23 04:24:42 +0400
committerStefan Gartner <stefang@aon.at>2003-07-23 04:24:42 +0400
commit33700b8b6508bf36b972fb68b575ff0c61a7f340 (patch)
tree1a0cd520e6c07171372bed639588035350b34379
parent46cbeb28a0a375b59c0c6fa0be915c2dea7b8c87 (diff)
fix bug #397:
shift+o caused a crash if no object was active (tsk...)
-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);
}
}