mirror of
https://github.com/DarkPlacesEngine/dpmodel.git
synced 2024-11-30 15:51:40 +00:00
remove useless info
git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@11525 d7cf8633-e32d-0410-b094-e92efae38249
This commit is contained in:
parent
81a9165d09
commit
677781d1dc
1 changed files with 3 additions and 7 deletions
10
dpmodel.c
10
dpmodel.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue