forked from bartvdbraak/blender
Bugfix: sequencer scrubbing crashed in cache limitor, missing NULL check.
This commit is contained in:
parent
d7f63b4062
commit
8f2ad64f3d
@ -1141,6 +1141,7 @@ ImBuf *give_ibuf_seq(int rectx, int recty, int cfra, int chanshown)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(seqfirst->curelem->ibuf)
|
||||||
IMB_cache_limiter_unref(seqfirst->curelem->ibuf);
|
IMB_cache_limiter_unref(seqfirst->curelem->ibuf);
|
||||||
|
|
||||||
return seqfirst->curelem->ibuf;
|
return seqfirst->curelem->ibuf;
|
||||||
|
Loading…
Reference in New Issue
Block a user