-
- Downloads
The SWIG wrapper is now functional again, although only a very limited
number of objects are supported so far, to reduce the size of the wrapper. Details: * set property eolstyle:native on .cpp and .h files for better windows + linux support * added small cpp file for quick nif read and write test (for debug purposes) * fixed memory leak due to array of non-fixed sized objects: Header.copyright (caused segfaults under GCC) * disabled pragma warning on NvTriStripObjects.cpp * fixed undefined behaviour of map[...] = ... map.size() ... in niflib.cpp (caused segfaults under GCC) * cleaned up SConstruct file - if DEBUG is false, TUNE is assumed - added TEST option * workaround in pyniflib.h for ReadNifTree (need to find better solution!) * swig wrapper interface: NiNode, NiAVObject, and NiObjectNET are fully supported (nothing else, for now) * now using unittest for python test script(s)
Showing
- NvTriStrip/NvTriStripObjects.cpp 1 addition, 1 deletionNvTriStrip/NvTriStripObjects.cpp
- SConstruct 58 additions, 73 deletionsSConstruct
- include/gen/Header.h 1 addition, 1 deletioninclude/gen/Header.h
- niflib_test.cpp 38 additions, 0 deletionsniflib_test.cpp
- src/gen/Header.cpp 1 addition, 1 deletionsrc/gen/Header.cpp
- src/niflib.cpp 9 additions, 7 deletionssrc/niflib.cpp
- swig/SConscript 6 additions, 0 deletionsswig/SConscript
- swig/niflib_test.py 41 additions, 0 deletionsswig/niflib_test.py
- swig/pyniflib.h 6 additions, 0 deletionsswig/pyniflib.h
- swig/pyniflib.i 26 additions, 16 deletionsswig/pyniflib.i
- swig/pyniflib_test.py 0 additions, 13 deletionsswig/pyniflib_test.py
Loading
Please register or sign in to comment