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>2007-05-09 20:38:04 +0400
committerTon Roosendaal <ton@blender.org>2007-05-09 20:38:04 +0400
commitf5da7674874ae8ef899430a016d77a0bc3d24aa6 (patch)
tree004d4acf22b2330a5a4134e0f6cbfa15f7e51231
parent2a94ae8a8106d98b9b26b9c99e78cac27a363604 (diff)
bugfix #6672
Object with object-action: Crash after unlinking an Ipo, and then inserting new key positions in 3d window.
-rw-r--r--source/blender/blenkernel/intern/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index 8ecdedc329e..aa9d3d30f98 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -360,7 +360,7 @@ bActionChannel *get_action_channel(bAction *act, const char *name)
{
bActionChannel *chan;
- if (!act)
+ if (!act || !name)
return NULL;
for (chan = act->chanbase.first; chan; chan=chan->next){