#include <msp/time/units.h>
#include "animation.h"
#include "armature.h"
+#include "error.h"
#include "keyframe.h"
#include "pose.h"
Matrix Animation::Iterator::get_pose_matrix(unsigned link) const
{
if(!animation.armature)
- throw logic_error("Animation::Iterator::get_pose_matrix");
+ throw invalid_operation("Animation::Iterator::get_pose_matrix");
if(link>animation.armature->get_max_link_index())
throw out_of_range("Animation::Iterator::get_pose_matrix");