Blender Git Commit Log
Git Commits -> Revision 6135556
Revision 6135556 by Sergey Sharybin (master) June 26, 2014, 09:22 (GMT) |
Replace Main->lock with an anoynous structure pointer This way it's not needed to include BLI_threads.h from the BKE_main.h which helps avoiding adding PThreads includes to each library which uses Main on Windows. From the API point of view it's now MainLock* and to lock or unlock the main you're to use BKE_main_(un)lock(). This solves compilation error on Windows with SCons. |
Commit Details:
Full Hash: 6135556f4556f0416f7ded737b26e342986ae1bf
Parent Commit: 33e8451
Lines Changed: +26, -10