- Apr 03, 2007
-
-
Shon Ferguson authored
Removing old Python-related files.
-
- Apr 02, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
Changed NiNode AddChild function to keep NiTriBasedGeom-derived objects at the top of the list. Fixes issue with Oblivion flattened skin file hierarchies where the NiTriBasedGeom skin was appearing after the NiNode bones that it used in the child list of their mutual parent.
-
- Apr 01, 2007
-
-
Shon Ferguson authored
Project file now properly uses "Multithreaded DLL" runtime library for "Release - DLL" configuration.
-
- Mar 31, 2007
-
-
Shon Ferguson authored
-
Shon Ferguson authored
-
Shon Ferguson authored
Moved TypeConst function implementation out of header file. Hopefully should fix GCC visibility issue. Fixed GetIDString virtual function missmatch that was causing the name not to show up when the function was called from a NiObjectRef. Added Python-specific operator functions to Ref to prevent the wrapper from crashing on Null Refs.
-
- Mar 30, 2007
-
-
Amorilia authored
* fixed detection of visibility=hidden support (gcc, linux) * compilation will give error message if visibility=hidden is not detected
-
- Mar 29, 2007
-
-
Shon Ferguson authored
-
- Mar 28, 2007
-
-
Shon Ferguson authored
Made Header and Footer functions NIFLIB_HIDDEN. Fixed comment on NIF version 3.1 A manual change by Amorilia to the generated Header.cpp and Footer.cpp files was overwritten. This needs to be fixed in the Python script.
-
Amorilia authored
* bug fix in Header block (array<3,LineString> crashes gcc when destructed)
-
Shon Ferguson authored
To allow for DLL mode, the IDENTITY constants in the Matrix classes were made private and are now accessible through the Identity() function of each matrix class. This may affect the 3ds Max plug-in as well.
-
- Mar 27, 2007
-
-
Amorilia authored
-
Shon Ferguson authored
Fixed Niflib DLL compile. All public functions should now be marked with either NIFLIB_API or NIFLIB_HIDDEN. May have missed a few here or there but they should be noticed eventually.
-
Shon Ferguson authored
Realized that Niflib was not compiling in DLL mode, so started working on fixing that. All NiObject classes need to have NIFLIB_API and NIFLIB_HIDDEN put on each public function, rather than marking the whole class. Still a lot left to change, but niflib.cpp and ComplexShape.cpp both compile without errors in DLL mode now.
-
- Mar 26, 2007
-
-
Amorilia authored
still need to make seperate files for seperate parts of the library * (!!!) moved nif.xml and kfm.xml file to reflect the reorganization; I tried to fix references to it in all other projects * niflib now imports nifxml code through svn:externals (as svn symbolic links are not supported under windows) * scons generates list of header files via nifxml library: no longer need to manually update the list * SConstruct generator removed from nifxml_niflib.py script as scons now uses the nifxml library directly * fixed typo in nif.xml * property svn:eol-style set to native on some files
-
- Mar 23, 2007
-
-
Amorilia authored
header and NiNode for now) * created a common swig interface "common.i" to be used by all modules * smart pointers now use the __call__() method, again this reduces the wrapper size * removed __str__() from the niflib API as it does not belong there, instead renamed asString() to __str__() in the common.i interface * version constants now also belong to the Niflib namespace * SWIGFLAGS are now defined through scons environment, so we only need to set them once * extra settings "-fcompact" and "-fvirtual" to SWIGFLAGS to reduce wrapper size * enabled niflib as a shared library under non-win32 platforms (still need to find a solution for win32) under scons * removed "pyniflib.h" and instead added CreateNiNode wrapper to ninode.i * renamed "pyniflib.i" to "pyniflib.i_old" in case I forgot to port something to the new modularized system; to be removed in future
-
- Mar 21, 2007
-
-
Amorilia authored
-
Amorilia authored
Changed order of %include's: Ref.h is now %included before niflib.h. It looks like the problem with illegal return types under SWIG is solved. (Solution suggested by Shon.)
-
Amorilia authored
-
Amorilia authored
-
Amorilia authored
-
Amorilia authored
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)
-
- Mar 20, 2007
-
-
Amorilia authored
* Renamed python.h to pyniflib.h to avoid confusion with the python.h file from python installation. * Updated python test script. * Enabled many things again in the swig wrapper interface, to ease debugging. * Added "using namespace std;" in Ref.h (as in the rest of the library)
-
- Mar 18, 2007
-
-
Amorilia authored
-
- Mar 16, 2007
- Mar 15, 2007
-
-
Amorilia authored
WIP: trying to make smart pointers work again with SWIG; for the moment I commented out most of the SWIG interface to reduce wrapper size and compilation time while testing
-
Amorilia authored
-
Amorilia authored
* only build python wrapper if SWIG is detected * option to turn of python wrapper build (python wrapper still WIP)
-
- Mar 14, 2007
- Feb 03, 2007
-
-
Shon Ferguson authored
Added configurations for Maya 8.0 and 8.5 to Maya solution. May not work.
-
- Jan 27, 2007