diff options
Diffstat (limited to 'source/blender/blenkernel/intern/ipo.c')
-rw-r--r-- | source/blender/blenkernel/intern/ipo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index 29db0ddd808..8407c66d584 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -60,7 +60,6 @@ #include "BLI_blenlib.h" #include "BLI_arithb.h" -#include "BKE_bad_level_calls.h" #include "BKE_utildefines.h" #include "BKE_action.h" @@ -305,7 +304,7 @@ Ipo *copy_ipo (Ipo *src) return NULL; dst= copy_libblock(src); - duplicatelist(&dst->curve, &src->curve); + BLI_duplicatelist(&dst->curve, &src->curve); for (icu= src->curve.first; icu; icu= icu->next) { icu->bezt= MEM_dupallocN(icu->bezt); @@ -1539,7 +1538,7 @@ void do_ob_ipo (Object *ob) if ((ob->id.name[2]=='S') && (ob->id.name[3]=='C') && (ob->id.name[4]=='E')) { if (strcmp(G.scene->id.name+2, ob->id.name+6)==0) { G.scene->lay= ob->lay; - copy_view3d_lock(0); + //XXX copy_view3d_lock(0); /* no redraw here! creates too many calls */ } } |