XPlane2Blender
XPlane2Blender copied to clipboard
Imp: Turn dynamic animations that turned out to be static into static animations
Suppose you have
ANIM_trans_begin dref1
ANIM_trans_key 0 1 0 0
ANIM_trans_key 0 1 0 0
ANIM_trans_end
This is really a static animation - neither dataref values nor locations actually move. This is better expressed as ANIM_trans 1 0 0 1 0 0
.
Here we'd need to undo our ANIM_stack by 1, and change the bake matrix
- [ ] Unit test
- [ ] Code (Look under ANIM_rotate/trans_end) for where the change needs to be
This is probably pretty rare, but, with out it you could get an unnecessary empty. The exporter will adjust the VT table for you as part of baking instead of complaining. Hence the priority low