diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-14 16:06:09 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-14 16:06:09 +0300 |
commit | b4df27c50d01912c495a1d5ff6e05dcb63817036 (patch) | |
tree | ca36577b0cc6bdc7661e686a45057a5a86a381d9 /source/blender/editors/object/editkey.c | |
parent | 3b56ee7880bc147b037a3f1849b604eddc039ad5 (diff) |
2.5
Still old editNurb here... last part
(I committed in parts, have gpencil restored here and can't
commit that yet!)
Diffstat (limited to 'source/blender/editors/object/editkey.c')
-rw-r--r-- | source/blender/editors/object/editkey.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/object/editkey.c b/source/blender/editors/object/editkey.c index 9b3150cea5a..20e2dbebe2e 100644 --- a/source/blender/editors/object/editkey.c +++ b/source/blender/editors/object/editkey.c @@ -77,9 +77,6 @@ static void BIF_undo_push() {} static void error() {} /* XXX */ -extern ListBase editNurb; /* in editcurve.c */ - - static void default_key_ipo(Scene *scene, Key *key) { IpoCurve *icu; @@ -387,7 +384,7 @@ void insert_curvekey(Scene *scene, Curve *cu, short rel) kb= add_keyblock(scene, key); - if(editNurb.first) curve_to_key(cu, kb, &editNurb); + if(cu->editnurb->first) curve_to_key(cu, kb, cu->editnurb); else curve_to_key(cu, kb, &cu->nurb); } |