Using "Deselect all" pulldown in Node Editor crashed when no nodetree is
visible.

Bugfix #4753

Hotkey SHIFT+P in buttons window started game engine, which it should not.
This commit is contained in:
2006-07-21 11:52:41 +00:00
parent 12a1fc374e
commit bfd9f8e196
2 changed files with 8 additions and 2 deletions

View File

@@ -3423,7 +3423,7 @@ static void winqreadbutspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
sa= curarea;
areawinset(sa3d->win);
if(event==PKEY) start_game();
if(event==PKEY && G.qual==0) start_game();
else if(event==ZKEY) toggle_shading();
else persptoetsen(event);