forked from bartvdbraak/blender
Tomato experimental option: disable cacheing for movie clip node
This commit is contained in:
parent
1b556dcb51
commit
f56f492c5a
@ -48,7 +48,9 @@ void MovieClipOperation::initExecution()
|
|||||||
if (this->m_movieClip) {
|
if (this->m_movieClip) {
|
||||||
BKE_movieclip_user_set_frame(this->m_movieClipUser, this->m_framenumber);
|
BKE_movieclip_user_set_frame(this->m_movieClipUser, this->m_framenumber);
|
||||||
ImBuf *ibuf;
|
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) {
|
if (ibuf) {
|
||||||
this->m_movieClipBuffer = ibuf;
|
this->m_movieClipBuffer = ibuf;
|
||||||
if (ibuf->rect_float == NULL || ibuf->userflags & IB_RECT_INVALID) {
|
if (ibuf->rect_float == NULL || ibuf->userflags & IB_RECT_INVALID) {
|
||||||
|
Loading…
Reference in New Issue
Block a user