PE: Fix - Ansi is max 7 bit, assimp/openfbx only support ansi paths. ( https://github.com/FlaxEngine/FlaxEngine/issues/806 )

This commit is contained in:
Preben Eriksen
2022-10-26 10:00:16 +02:00
parent 8a46aec294
commit 6a5efdeb29

View File

@@ -215,7 +215,8 @@ bool String::IsANSI() const
bool result = true; bool result = true;
for (int32 i = 0; i < _length; i++) for (int32 i = 0; i < _length; i++)
{ {
if (_data[i] > 255) //PE: Ansi is max 7 bit so...
if (_data[i] > 127)
{ {
result = false; result = false;
break; break;