Changed all cout statements to use the out file stream so they would not write to the Maya Output window. Only NiNodes that are skin influences are now imported as IKJoints.  Previously nodes with the word "Bip" in the name were also made into joints but this was incorrect. Now import ambient as well.  It looks bad e renders, but not importing it results in exports that do not match the original file. Vertex colors are now exported. Maya's default objects (such as the top, front, side, and persp camera) are no longer exported. Exported the name of the FileTexture node in the resulting NiSourceTexture object. Paths of textures are now fixed by removing any part of the beginning that matches the texture path specified in the options. Texture path can now optionally end with an extra \ character after the last directory name. Fixed a bug where two \ characters were always added to whatever texture path the user specified.
Changed all cout statements to use the out file stream so they would not write to the Maya Output window.
Only NiNodes that are skin influences are now imported as IKJoints.  Previously nodes with the word "Bip" in the name were also made into joints but this was incorrect.
Now import ambient as well.  It looks bad e renders, but not importing it results in exports that do not match the original file.
Vertex colors are now exported.
Maya's default objects (such as the top, front, side, and persp camera) are no longer exported.
Exported the name of the FileTexture node in the resulting NiSourceTexture object.
Paths of textures are now fixed by removing any part of the beginning that matches the texture path specified in the options.
Texture path can now optionally end with an extra \ character after the last directory name.
Fixed a bug where two \ characters were always added to whatever texture path the user specified.

amorilia/maya_nif_plugin,Alecu100/maya_nif_plugin,Alecu100/maya_nif_plugin