mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-26 21:40:07 +00:00
Enlarging the token string to be 50 chars instead of 15 to accomodate
the longer prman tag keywords.
This commit is contained in:
parent
287bd6d629
commit
b8cfe4b0bb
@ -125,7 +125,7 @@ shape::tag * shape::tag::parseTag(char const * line) {
|
|||||||
|
|
||||||
const char* cp = &line[2];
|
const char* cp = &line[2];
|
||||||
|
|
||||||
char name[15];
|
char name[50];
|
||||||
while (*cp == ' ') cp++;
|
while (*cp == ' ') cp++;
|
||||||
if (sscanf(cp, "%s", &name )!=1) return t;
|
if (sscanf(cp, "%s", &name )!=1) return t;
|
||||||
while (*cp && *cp != ' ') cp++;
|
while (*cp && *cp != ' ') cp++;
|
||||||
|
Loading…
Reference in New Issue
Block a user