[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32764] trunk/blender: use PyImport_ExtendInittab for py module initialization rather then adding to sys .modules directly, no functional change.
Mike S
blenderdev at mikes.id.au
Sat Oct 30 04:17:01 CEST 2010
On 30/10/10 12:29 PM, Dalai Felinto wrote:
> Hi Campbell,
> this commit produced this error in CMake+MSVC:
> http://www.pasteall.org/16526
>
> Confirmed in scons+gcc by Bassam.
> Any clues?
>
> Cheers,
> Dalai
Simple missed name changes... Diff below compiles.
Mike.
Index: source/gameengine/Ketsji/KX_PythonInit.cpp
===================================================================
--- source/gameengine/Ketsji/KX_PythonInit.cpp (revision 32764)
+++ source/gameengine/Ketsji/KX_PythonInit.cpp (working copy)
@@ -2333,22 +2333,22 @@
PyObject* initMathutils()
{
- return Mathutils_Init();
+ return BPyInit_mathutils();
}
PyObject* initGeometry()
{
- return Geometry_Init();
+ return BPyInit_mathutils_geometry();
}
PyObject* initBGL()
{
- return BGL_Init();
+ return BPyInit_bgl();
}
PyObject* initBLF()
{
- return BLF_Init();
+ return BPyInit_blf();
}
// utility function for loading and saving the globalDict
More information about the Bf-committers
mailing list