From 5202b11235cb6a95b9e1467704ed1272f6e29d24 Mon Sep 17 00:00:00 2001 From: Jason Hooks Date: Sat, 18 Aug 2012 15:31:54 -0400 Subject: [PATCH] just moving a comment --- components/nifogre/ogre_nif_loader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/nifogre/ogre_nif_loader.cpp b/components/nifogre/ogre_nif_loader.cpp index 2557a260a..660ca09ae 100644 --- a/components/nifogre/ogre_nif_loader.cpp +++ b/components/nifogre/ogre_nif_loader.cpp @@ -278,8 +278,7 @@ void loadResource(Ogre::Resource *resource) while(!didlast) { float curtime = kfc->timeStop; - // Get the latest quaternion, translation, and scale for the - // current time + //Get latest time if(quatiter != quatkeys.mKeys.end()){ @@ -333,6 +332,8 @@ void loadResource(Ogre::Resource *resource) kframe->setScale(lastscale + ((curscale-lastscale)*diff)); } + // Get the latest quaternion, translation, and scale for the + // current time while(quatiter != quatkeys.mKeys.end() && curtime >= quatiter->mTime) { quatiter++;