Fix character model rendering artifacts when a freeze segment lies on beat

0.  PlayAnimation() is called, and Update() is not, so it would render without
ever calling AdvanceFrame.
This commit is contained in:
Glenn Maynard
2004-05-15 01:38:12 +00:00
parent c8e2173282
commit ea1aab7e74
+4
View File
@@ -663,6 +663,10 @@ void Model::PlayAnimation( CString sAniName, float fPlayRate )
}
}
}
/* Run AdvanceFrame once, to set up m_vpBones, just in case we're drawn without
* being Update(). */
AdvanceFrame( 0.0f );
}
float Model::GetCurFrame() { return m_fCurrFrame; };