diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-11 12:59:51 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-11 12:59:51 +0300 |
commit | 6dcb4ac7a4e50247022eb17794b47b38e34dcd82 (patch) | |
tree | 4f097e3663bfb9e7c2099d119c2f46708e351cf0 /source/blender/blenkernel/intern/key.c | |
parent | 5c69f19904a4e8aba4b6f89cb90fe41bc303c0ff (diff) |
* Fixing various compiler warnings under scons+mingw. Mostly unused variables and functions.
* Added missing lib-linking code for Grease Pencil in nodetrees
* Uncommented some code for curve shapekeys
Diffstat (limited to 'source/blender/blenkernel/intern/key.c')
-rw-r--r-- | source/blender/blenkernel/intern/key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c index 61f51d61e0b..0b067c6ef7b 100644 --- a/source/blender/blenkernel/intern/key.c +++ b/source/blender/blenkernel/intern/key.c @@ -1192,11 +1192,11 @@ static void do_curve_key(Scene *scene, Object *ob, Key *key, char *out, int tot) #endif // XXX old animation system flag= setkeys(ctime, &key->block, k, t, 0); - + if(flag==0) - ; /* do_key(a, a+step, tot, (char *)out, key, k, t, 0); */ + do_key(a, a+step, tot, (char *)out, key, actkb, k, t, 0); else - ; /* cp_key(a, a+step, tot, (char *)out, key, k[2],0); */ + cp_key(a, a+step, tot, (char *)out, key, actkb, k[2], NULL, 0); } } else { |