remove useless info

git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@11525 d7cf8633-e32d-0410-b094-e92efae38249
This commit is contained in:
divverent 2011-11-05 14:11:13 +00:00
parent 81a9165d09
commit 677781d1dc

View file

@ -934,14 +934,14 @@ int parseskeleton(void)
{
// real framegroups entry
if(framegroupsfile)
fprintf(framegroupsfile, "%i %i %g %i %s // %s\n", baseframe, numframes - baseframe, sceneframerate, sceneloop, scene_name_lowercase, model_name_lowercase);
fprintf(framegroupsfile, "%i %i %g %i %s\n", baseframe, numframes - baseframe, sceneframerate, sceneloop, scene_name_lowercase);
// dummy animinfo entry
animinfo_write(framegroup, 1, sceneframerate / (numframes - baseframe), true);
++framegroup;
}
else if(!sceneframegroups)
else // if(!sceneframegroups)
{
// real animinfo entry
animinfo_write(framegroup, numframes - baseframe, sceneframerate, true);
@ -949,14 +949,10 @@ int parseskeleton(void)
// dummy framegroups entries
for(i = 0; i < numframes - baseframe; ++i)
if(framegroupsfile)
fprintf(framegroupsfile, "%i %i %g %i // %s %s\n", baseframe + i, 1, 1.0, 0, model_name_lowercase, scene_name_lowercase);
fprintf(framegroupsfile, "%i %i %g %i %s\n", baseframe + i, 1, 1.0, 0, scene_name_lowercase);
framegroup += numframes - baseframe;
}
else // if(!framegroups)
{
animinfo_write(baseframe, numframes - baseframe, sceneframerate, true);
}
}
else
animinfo_write(baseframe, numframes - baseframe, sceneframerate, false); // reference pose