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:
authorTon Roosendaal <ton@blender.org>2006-03-12 16:03:40 +0300
committerTon Roosendaal <ton@blender.org>2006-03-12 16:03:40 +0300
commitbd151b30ab70433c27027864db777a3955d0fc76 (patch)
treee0c34762ebeab43f983c412b399f3466913bbe94 /source/blender
parent8a8c70c63a6d5e7c9fc41e12559ff5c9be0e54dd (diff)
Pressing Tkey in empty action window crashed... bad pointer handling.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/editaction.c4
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) {