#include "animatedobject.h"
#include "animationplayer.h"
+#include "armature.h"
using namespace std;
{
i->iterator += dt;
i->object.set_matrix(i->iterator.get_matrix());
+ if(const Armature *armature = i->animation.get_armature())
+ {
+ unsigned max_index = armature->get_max_link_index();
+ for(unsigned j=0; j<=max_index; ++j)
+ i->object.set_pose_matrix(j, i->iterator.get_pose_matrix(j));
+ }
if(i->iterator.is_end())
slots.erase(i++);