Blender Git Commit Log

Git Commits -> Revision 7884ae6

Revision 7884ae6 by Sergey Sharybin (master)
February 1, 2018, 15:34 (GMT)
Fix T53686: VSE Render crash when zooming timeline

This is rather a workaround to avoid main thread freeing all glyph caches
at the same time as sequencer uses fonts to draw text sequences.

Ideally we need to either make cache more local, or user-counted or to make
somewhat more global locks. All this ends up in a bigger refactor which is
better for 2.8. For the meantime let's make Blender more stable with a tiny
workaround.

Downside is that keeping zooming things up and down in interface during render
will increase memory usage by unused glyph caches. It's not too bad though,
all unused caches will be freed first time at area zoom after render.

Thanks Bastien for review!

Commit Details:

Full Hash: 7884ae6eb274bea0fe4739255a41a693df833b11
Parent Commit: 1a840c3
Lines Changed: +7, -0

1 Modified Path:

/source/blender/editors/interface/view2d.c (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021