From 677781d1dc7fdf3cc142e6406459981c669dc8eb Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 5 Nov 2011 14:11:13 +0000 Subject: [PATCH] remove useless info git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@11525 d7cf8633-e32d-0410-b094-e92efae38249 --- dpmodel.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dpmodel.c b/dpmodel.c index 7ee021b..2e66bca 100644 --- a/dpmodel.c +++ b/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