From ea1aab7e7436d35452d65b49154823502cdb7fdd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 15 May 2004 01:38:12 +0000 Subject: [PATCH] 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. --- stepmania/src/Model.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/Model.cpp b/stepmania/src/Model.cpp index c395dd559b..ea632ab8f6 100644 --- a/stepmania/src/Model.cpp +++ b/stepmania/src/Model.cpp @@ -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; };