mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 05:10:26 +00:00
just moving a comment
This commit is contained in:
parent
4a219404fc
commit
5202b11235
1 changed files with 3 additions and 2 deletions
|
@ -278,8 +278,7 @@ void loadResource(Ogre::Resource *resource)
|
||||||
while(!didlast)
|
while(!didlast)
|
||||||
{
|
{
|
||||||
float curtime = kfc->timeStop;
|
float curtime = kfc->timeStop;
|
||||||
// Get the latest quaternion, translation, and scale for the
|
|
||||||
// current time
|
|
||||||
|
|
||||||
//Get latest time
|
//Get latest time
|
||||||
if(quatiter != quatkeys.mKeys.end()){
|
if(quatiter != quatkeys.mKeys.end()){
|
||||||
|
@ -333,6 +332,8 @@ void loadResource(Ogre::Resource *resource)
|
||||||
kframe->setScale(lastscale + ((curscale-lastscale)*diff));
|
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)
|
while(quatiter != quatkeys.mKeys.end() && curtime >= quatiter->mTime)
|
||||||
{
|
{
|
||||||
quatiter++;
|
quatiter++;
|
||||||
|
|
Loading…
Reference in a new issue