dpmodel: when writing MD3, check the TAG_ prefix case INsensitively (blender default is apparently tag_ and not TAG_)

git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@9338 d7cf8633-e32d-0410-b094-e92efae38249
This commit is contained in:
divverent 2009-10-16 06:43:51 +00:00
parent e4d251cab9
commit 26c35e2721

View file

@ -2451,7 +2451,7 @@ int writemodel_md3(void)
putlelong(numframes); // frames
numtags = 0;
for (i = 0;i < numbones;i++)
if (!strncmp(bones[i].name, "TAG_", 4))
if (!strncasecmp(bones[i].name, "TAG_", 4))
numtags++;
putlelong(numtags); // number of tags per frame
putlelong(numshaders); // number of meshes
@ -2499,7 +2499,7 @@ int writemodel_md3(void)
}
for (j = 0;j < numbones;j++)
{
if (strncmp(bones[j].name, "TAG_", 4))
if (strncasecmp(bones[j].name, "TAG_", 4))
continue;
putstring(bones[j].name, 64);
// output the origin and then 9 rotation floats