void Skeleton::setHumanJoint( const std::string& name, int human_joint_id ) { Joint* joint = getHumanJoint( human_joint_id ); if( joint ) { return; } else { joint = getJointByName( name ); if( joint ) { joint->setHumanID( human_joint_id ); joint->setDOF( Human::dof_for_each_part[ human_joint_id ] ); human_joints[ human_joint_id ] = joint; } } }