I want to export a model as DirectX .x format and retain the armature and animations. It's partially/sometimes working but not consistently. I have the checkboxes in the exporter checked to export animations, export separate AnimationSets, export unused animations, and the "export selected objects only" unchecked. My animations are separate Actions within Blender under dope sheets.
My model has 2 animations. Sometimes the exported file has 2 AnimationSets (which are what the animations are called in the .x format) and sometimes 3. One of them always has only 1 Animation sub-section that contains {Armature} (the name I gave to the blender object containing the armature and mesh). The others are the animations I want to export and contain Animation sections for each bone (sometimes there is only one of these AnimationSets.)
I think this has something to do with the following screenshot of the outliner:

There is an Animation on the main section of the object and another on the mesh. These get out of sync, and I'm not even sure the correct way of setting one or the other or what each of them are. I also notice that changing one of them sometimes doesn't change what animation is played in Blender. What are each of these supposed to represent and how do you set each of them? If I knew what they were I could probably figure out how to consistently export all animations.
In the screenshot, Sphere is the mesh and Armature is the mesh parented to the bones (sorry for poor naming, right now I'm just trying to get it to work.)
I'm using Blender 2.77a.
