Tomato experimental option: disable cacheing for movie clip node
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Jul 2012 16:18:39 +0000 (16:18 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Jul 2012 16:18:39 +0000 (16:18 +0000)
source/blender/compositor/operations/COM_MovieClipOperation.cpp

index f53bb66d47854de60a044c1dfb6f4616e1801ae5..b32c2799217c47d06fb047360505a056f9ea5c26 100644 (file)
@@ -48,7 +48,9 @@ void MovieClipOperation::initExecution()
        if (this->m_movieClip) {
                BKE_movieclip_user_set_frame(this->m_movieClipUser, this->m_framenumber);
                ImBuf *ibuf;
-               ibuf = BKE_movieclip_get_ibuf(this->m_movieClip, this->m_movieClipUser);
+               int flag = this->m_movieClip->flag & MCLIP_TIMECODE_FLAGS;
+
+               ibuf = BKE_movieclip_get_ibuf_flag(this->m_movieClip, this->m_movieClipUser, flag, MOVIECLIP_CACHE_SKIP);
                if (ibuf) {
                        this->m_movieClipBuffer = ibuf;
                        if (ibuf->rect_float == NULL || ibuf->userflags & IB_RECT_INVALID) {