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