Blender Git Loki

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

4 Modified Paths:

/source/blender/blenkernel/BKE_library.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_main.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/library.c (+19, -6) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021