View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003834 | The Dark Mod | Coding | public | 31.08.2014 03:24 | 15.12.2014 22:15 |
Reporter | SteveL | Assigned To | SteveL | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.03 | ||||
Target Version | TDM 2.03 | Fixed in Version | TDM 2.03 | ||
Summary | 0003834: Animated LOD switches need to copy much of the idAnimBlend data, not just restart the animation. | ||||
Description | LOD switches cause an anim channel that's sync'd and not firing off frame commands to start issuing them again. They also leave some other flags unset: whether the anim is paused and whether it's fading out (not likely, since only the most recently started anim is resumed, and soon-to-expire anims typically get replaced with a fresh idle anim, not no anim). | ||||
Steps To Reproduce | Discovered while testing 0003800 | ||||
Additional Information | idAnimBlend could provide a copy method for LOD, that copies the important flags while linking to the new model. | ||||
Tags | No tags attached. | ||||
Added idAnimBlend::CopyStateData( const idAnimBlend& other ); and used it in the LOD switch. Which copies the following: + allowFrameCommands -- whether to generate frame commands from the anim + allowMove -- whether the anim is moving the model through world space in addition to deforming the mesh + 4 pieces of info used in pausing and resuming anims. End times for the anim have not been copied. Those are set by more sophisticated logic based on number of cycles to run, which is already restored by LOD. |
|
At rev 6095 | |
Extra parameter added to the copy list during 2.03 testing: endtime, without which a LOD change can reinstate an expired anim on a corpse. at rev 6411 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
31.08.2014 03:24 | SteveL | New Issue | |
31.08.2014 03:24 | SteveL | Status | new => assigned |
31.08.2014 03:24 | SteveL | Assigned To | => SteveL |
31.08.2014 03:25 | SteveL | Relationship added | child of 0003770 |
01.09.2014 01:13 | SteveL | Note Added: 0006919 | |
01.09.2014 01:21 | SteveL | Note Added: 0006920 | |
01.09.2014 01:21 | SteveL | Status | assigned => resolved |
01.09.2014 01:21 | SteveL | Fixed in Version | => TDM 2.03 |
01.09.2014 01:21 | SteveL | Resolution | open => fixed |
15.12.2014 21:43 | SteveL | Note Added: 0007264 | |
15.12.2014 22:15 | SteveL | Relationship added | related to 0003972 |