Blender Git Loki

Git Commits -> Revision f1c4688

Revision f1c4688 by Dalai Felinto (master)
December 9, 2010, 17:31 (GMT)
renaming blf_api.h to blf_py_api.h
In windows this was producing Linking dependence errors because we have BLF_api.h in the /blenfont/ and blf_api.h in /python/generic/. It doesn't produces crash out of the box but I was trying to link both "api" files to the same project (Ketjsi folder). For the linking order was determining what header to use. A workaround is to "include" the file using some ../../ relative folder. But renaming it is less error prone.

Probably Ketsji folder shouldn't link to BLF_api.h anyways, but this is something I will look better later before another commit. In the mean time it's not a good idea to have 2 api files with the same name (for non case-sensitive systems).

Commit Details:

Full Hash: f1c4688e25a124a8fe38f29e4bbf7298e33aeb56
SVN Revision: 33573
Parent Commit: b6c6877
Lines Changed: +435, -435

2 Added Paths:

/source/blender/python/generic/blf_py_api.c (+406, -0) (View)
/source/blender/python/generic/blf_py_api.h (+25, -0) (View)

2 Deleted Paths:

/source/blender/python/generic/blf_api.c (+0, -406)
/source/blender/python/generic/blf_api.h (+0, -25)

3 Modified Paths:

/source/blender/python/generic/CMakeLists.txt (+2, -2) (Diff)
/source/blender/python/intern/bpy.c (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021