From 8bf26065de197493d2c46844b0e0d25b41729638 Mon Sep 17 00:00:00 2001 From: George Papadopoulos Date: Mon, 1 Sep 2014 19:06:59 +0300 Subject: [PATCH] [FBX] parse upper cased Int/Enum properties --- code/FBXProperties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXProperties.cpp b/code/FBXProperties.cpp index 62cbba51d..13b354442 100644 --- a/code/FBXProperties.cpp +++ b/code/FBXProperties.cpp @@ -85,7 +85,7 @@ Property* ReadTypedProperty(const Element& element) else if (!strcmp(cs,"bool") || !strcmp(cs,"Bool")) { return new TypedProperty(ParseTokenAsInt(*tok[4]) != 0); } - else if (!strcmp(cs,"int") || !strcmp(cs,"enum")) { + else if (!strcmp(cs, "int") || !strcmp(cs, "Int") || !strcmp(cs, "enum") || !strcmp(cs, "Enum")) { return new TypedProperty(ParseTokenAsInt(*tok[4])); } else if (!strcmp(cs,"ULongLong")) {