Bug reported by Andy; pressing Vkey in action editor (vector handles)

crashed when there's a channel with no ipo.
This commit is contained in:
Ton Roosendaal
2005-12-19 18:29:05 +00:00
parent b4d7f5c581
commit d1ac57ac20

View File

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