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>2009-01-14 16:06:09 +0300
committerTon Roosendaal <ton@blender.org>2009-01-14 16:06:09 +0300
commitb4df27c50d01912c495a1d5ff6e05dcb63817036 (patch)
treeca36577b0cc6bdc7661e686a45057a5a86a381d9 /source/blender/editors
parent3b56ee7880bc147b037a3f1849b604eddc039ad5 (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')
-rw-r--r--source/blender/editors/object/editkey.c5
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);
}