From 301bae3967046ba74b1fd2d2ba8b62f7cb39efac Mon Sep 17 00:00:00 2001 From: Malcolm Tyrrell Date: Thu, 30 Jul 2020 16:37:41 +0100 Subject: [PATCH] Improve message --- code/AssetLib/FBX/FBXBinaryTokenizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/FBX/FBXBinaryTokenizer.cpp b/code/AssetLib/FBX/FBXBinaryTokenizer.cpp index bbb3e5434..82c1783cd 100644 --- a/code/AssetLib/FBX/FBXBinaryTokenizer.cpp +++ b/code/AssetLib/FBX/FBXBinaryTokenizer.cpp @@ -468,7 +468,7 @@ void TokenizeBinary(TokenList& output_tokens, const char* input, size_t length) catch (const DeadlyImportError& e) { if ((sizeof(size_t) > 4) && !is64bits && (length > std::numeric_limits::max())) { - throw DeadlyImportError("The FBX is invalid. This may be because the content is too big for this older version (" + to_string(version) + ") of the FBX format. (" + e.what() + ")"); + throw DeadlyImportError("The FBX file is invalid. This may be because the content is too big for this older version (" + to_string(version) + ") of the FBX format. (" + e.what() + ")"); } throw; }