diff --git a/Addins/ExportKF.cpp b/Addins/ExportKF.cpp index 2070a08..74e54ac 100644 --- a/Addins/ExportKF.cpp +++ b/Addins/ExportKF.cpp @@ -294,8 +294,6 @@ bool AnimationExport::exportController() float duration = anim->m_duration; seq->SetStopTime(duration); - hkReal incrFrame = anim->m_duration / (hkReal)(nframes-1); - int nbones = skeleton->m_bones.getSize(); // dont know how to deal with this @@ -349,7 +347,7 @@ bool AnimationExport::exportController() } hkReal time = startTime; - for (int iFrame=0; iFramem_duration / (hkReal)(nframes-1)) { //hkUint32 uiAnnotations = anim->getNumAnnotations(time, incrFrame);