[FBX] parse upper cased Int/Enum properties
parent
55a8e59f0d
commit
8bf26065de
|
@ -85,7 +85,7 @@ Property* ReadTypedProperty(const Element& element)
|
|||
else if (!strcmp(cs,"bool") || !strcmp(cs,"Bool")) {
|
||||
return new TypedProperty<bool>(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<int>(ParseTokenAsInt(*tok[4]));
|
||||
}
|
||||
else if (!strcmp(cs,"ULongLong")) {
|
||||
|
|
Loading…
Reference in New Issue