Changeset 8655 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer/md3/md3_animation_cfg.cc
- Timestamp:
- Jun 21, 2006, 2:10:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/md3/md3_animation_cfg.cc
r8547 r8655 144 144 PRINTF(0)("got footsteps: %s\n", this->footsteps.c_str()); 145 145 } 146 else { 146 else 147 { 147 148 // assume it's an animation line 148 149 inHeader = false; … … 159 160 // workaround for strange numbering in animation.cfg: skip TORSO frames 160 161 // for LEGS animation lines... 161 if (animation->type == LEGS) { 162 //when first LEGS animation is found, calc # of TORSO frames 162 if( animation->type == LEGS) 163 { 164 //when first LEGS animation is found, calc # of TORSO frames 163 165 if( torsoOffset == -1) 164 166 torsoOffset = animation->first - firstTorsoFrame; … … 167 169 animation->offset = torsoOffset; 168 170 } 169 else if (animation->type == TORSO)171 else if( animation->type == TORSO) 170 172 if( firstTorsoFrame == -1) 171 173 firstTorsoFrame = animation->first;
Note: See TracChangeset
for help on using the changeset viewer.