shift+o caused a crash if no object was active (tsk...)
This commit is contained in:
Stefan Gartner 2003-07-23 00:24:42 +00:00
parent 46cbeb28a0
commit 33700b8b65

@ -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);
}
}