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>2005-12-19 21:29:05 +0300
committerTon Roosendaal <ton@blender.org>2005-12-19 21:29:05 +0300
commitd1ac57ac20c8c2f50bdfba35ca0d1acd26604d40 (patch)
tree31abd6f0ba3f4c147b7d08aa33e720cc351c5608 /source/blender/src/editipo_mods.c
parentb4d7f5c5818399f75d00567de7b7f6b2fb517cdd (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.c4
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){