Pressing Wkey with no object active crashed.
This commit is contained in:
Ton Roosendaal 2005-07-10 09:42:13 +00:00
parent 3d6d14011c
commit 36c2f0b682

@ -1902,7 +1902,10 @@ void special_editmenu(void)
if(G.obpose) {
pose_special_editmenu();
}
else if(G.obedit==0) {
else if(G.obedit==NULL) {
if(!OBACT) return;
if(G.f & G_FACESELECT) {
Mesh *me= get_mesh(OBACT);
TFace *tface;