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:
-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) {