Fix to support FBX 2011 (7100)

pull/181/head
Hiroyuki Inoue 2013-11-12 23:25:40 +09:00
parent 89fbda0957
commit 3a3ac4fea2
1 changed files with 4 additions and 4 deletions

View File

@ -292,16 +292,16 @@ void Document::ReadHeader()
// while we maye have some success with newer files, we don't support // while we maye have some success with newer files, we don't support
// the older 6.n fbx format // the older 6.n fbx format
if(fbxVersion < 7200) { if(fbxVersion < 7100) {
DOMError("unsupported, old format version, supported are only FBX 2012 and FBX 2013"); DOMError("unsupported, old format version, supported are only FBX 2011, FBX 2012 and FBX 2013");
} }
if(fbxVersion > 7300) { if(fbxVersion > 7300) {
if(Settings().strictMode) { if(Settings().strictMode) {
DOMError("unsupported, newer format version, supported are only FBX 2012 and FBX 2013" DOMError("unsupported, newer format version, supported are only FBX 2011, FBX 2012 and FBX 2013"
" (turn off strict mode to try anyhow) "); " (turn off strict mode to try anyhow) ");
} }
else { else {
DOMWarning("unsupported, newer format version, supported are only FBX 2012 and FBX 2013," DOMWarning("unsupported, newer format version, supported are only FBX 2011, FBX 2012 and FBX 2013,"
" trying to read it nevertheless"); " trying to read it nevertheless");
} }
} }