From c52695bafe477d8a8ee81ca37ba55e0bcd196fd7 Mon Sep 17 00:00:00 2001 From: Peter Schlaile Date: Sun, 23 Mar 2008 17:56:44 +0000 Subject: == Sequencer / ImBuf == Fixed a long standing bug in IMB_dupImBuf: refcounter should be better 0 within the duplicated ImBuf... Finally removed this strange STRIPELEM_META mumbo jumbo. On a way to asset management: made METAs behave like true input strips: * proxying should work * input filter options should work (including transform and color balance :) * IPOs now work in replace mode --- source/blender/imbuf/intern/allocimbuf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index bc750e455a6..78efed908fe 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -478,6 +478,7 @@ struct ImBuf *IMB_dupImBuf(struct ImBuf *ibuf1) // set malloc flag tbuf.mall = ibuf2->mall; tbuf.c_handle = 0; + tbuf.refcounter = 0; // for now don't duplicate image info tbuf.img_info = 0; -- cgit v1.2.3