- update version info for 3.1
- aiGetVersionRevision will now return the git tag.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
This commit is contained in:
Kim Kulling
2014-05-01 11:32:15 +02:00
parent 8255d67a95
commit 825a61fbc0
4 changed files with 17 additions and 10 deletions
+8 -5
View File
@@ -4,6 +4,9 @@
#include "AssimpPCH.h"
#include "./../include/assimp/version.h"
static const unsigned int MajorVersion = 3;
static const unsigned int MinorVersion = 1;
// --------------------------------------------------------------------------------
// Legal information string - dont't remove this.
static const char* LEGAL_INFORMATION =
@@ -25,13 +28,13 @@ ASSIMP_API const char* aiGetLegalString () {
// ------------------------------------------------------------------------------------------------
// Get Assimp minor version
ASSIMP_API unsigned int aiGetVersionMinor () {
return 0;
return MinorVersion;
}
// ------------------------------------------------------------------------------------------------
// Get Assimp major version
ASSIMP_API unsigned int aiGetVersionMajor () {
return 3;
return MajorVersion;
}
// ------------------------------------------------------------------------------------------------
@@ -65,11 +68,11 @@ ASSIMP_API unsigned int aiGetCompileFlags () {
// ------------------------------------------------------------------------------------------------
ASSIMP_API unsigned int aiGetVersionRevision ()
{
return SVNRevision;
return GitVersion;
}
// ------------------------------------------------------------------------------------------------
ASSIMP_API aiScene::aiScene()
ASSIMP_API aiScene::aiScene()
: mFlags(0)
, mRootNode(NULL)
, mNumMeshes(0)
@@ -83,7 +86,7 @@ ASSIMP_API aiScene::aiScene()
, mNumLights(0)
, mLights(NULL)
, mNumCameras(0)
, mCameras(NULL)
, mCameras(NULL)
, mPrivate(new Assimp::ScenePrivateData())
{
}