diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-19 21:29:05 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-19 21:29:05 +0300 |
commit | d1ac57ac20c8c2f50bdfba35ca0d1acd26604d40 (patch) | |
tree | 31abd6f0ba3f4c147b7d08aa33e720cc351c5608 /source/blender/src/editipo_mods.c | |
parent | b4d7f5c5818399f75d00567de7b7f6b2fb517cdd (diff) |
Bug reported by Andy; pressing Vkey in action editor (vector handles)
crashed when there's a channel with no ipo.
Diffstat (limited to 'source/blender/src/editipo_mods.c')
-rw-r--r-- | source/blender/src/editipo_mods.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/editipo_mods.c b/source/blender/src/editipo_mods.c index d228effc951..83aec9ccbee 100644 --- a/source/blender/src/editipo_mods.c +++ b/source/blender/src/editipo_mods.c @@ -301,7 +301,9 @@ static int ipo_keys_bezier_loop(Ipo *ipo, */ IpoCurve *icu; - + + if(ipo==NULL) return 0; + /* Loop through each curve in the Ipo */ for (icu=ipo->curve.first; icu; icu=icu->next){ |