浏览代码

Fix #2693 aiGetVersionMajor return wrong version

The 2 constants MinorVersion and MajorVersion are updated for 5.0
Engin Manap 6 年之前
父节点
当前提交
afec2e2c49
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/Common/Version.cpp

+ 2 - 2
code/Common/Version.cpp

@@ -46,8 +46,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <assimp/scene.h>
 #include <assimp/scene.h>
 #include "ScenePrivate.h"
 #include "ScenePrivate.h"
 
 
-static const unsigned int MajorVersion = 4;
-static const unsigned int MinorVersion = 1;
+static const unsigned int MajorVersion = 5;
+static const unsigned int MinorVersion = 0;
 
 
 // --------------------------------------------------------------------------------
 // --------------------------------------------------------------------------------
 // Legal information string - don't remove this.
 // Legal information string - don't remove this.