diff options
author | Ton Roosendaal <ton@blender.org> | 2006-03-12 16:03:40 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-03-12 16:03:40 +0300 |
commit | bd151b30ab70433c27027864db777a3955d0fc76 (patch) | |
tree | e0c34762ebeab43f983c412b399f3466913bbe94 /source | |
parent | 8a8c70c63a6d5e7c9fc41e12559ff5c9be0e54dd (diff) |
Pressing Tkey in empty action window crashed... bad pointer handling.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 4d38175e69d..25499da2d34 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -673,7 +673,6 @@ void borderselect_action(void) act=G.saction->action; - if (!act) return; @@ -862,7 +861,8 @@ void transform_actionchannel_keys(int mode, int dummy) char str[256]; act=G.saction->action; - + if(act==NULL) return; + /* Ensure that partial selections result in beztriple selections */ for (chan=act->chanbase.first; chan; chan=chan->next){ if((chan->flag & ACHAN_HIDDEN)==0) { |