Blender Git Commit Log

Git Commits -> Revision 683db78

Revision 683db78 by Sergey Sharybin (master)
July 11, 2013, 09:15 (GMT)
Make fonts safe(r) for threading

Getting vfont data wasn't safe for threading, because it
was modifying font data which is in bmain and could be
shared by multiple objects.

For now made it so getting vfont uses critical section,
meaning vfont->data is initializing from inside a locked
mutex.

Commit Details:

Full Hash: 683db783d030d6a3ce56e6843e7d0d4e5eaadbbd
SVN Revision: 58169
Parent Commit: ac0638f
Lines Changed: +18, -1

1 Modified Path:

/source/blender/blenkernel/intern/font.c (+18, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021