Merge pull request #321 from Gargaj/patch-1

Add FieldOfView token type (fixes #245)
pull/324/head
Alexander Gessler 2014-08-02 11:38:23 -07:00
commit f5b9f5cb50
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ Property* ReadTypedProperty(const Element& element)
ParseTokenAsFloat(*tok[6]))
);
}
else if (!strcmp(cs,"double") || !strcmp(cs,"Number") || !strcmp(cs,"KTime") || !strcmp(cs,"Float")) {
else if (!strcmp(cs,"double") || !strcmp(cs,"Number") || !strcmp(cs,"KTime") || !strcmp(cs,"Float") || !strcmp(cs,"FieldOfView")) {
return new TypedProperty<float>(ParseTokenAsFloat(*tok[4]));
}
return NULL;