Better fix for the angle interolation issue. Thanks sbte for spotting it. Refs #1846.

This was SVN commit r13244.
This commit is contained in:
Jonathan Waller 2013-03-08 20:01:12 +00:00
parent 8777f68aa0
commit c6043779f6

View File

@ -445,7 +445,8 @@ public:
// result gets close to m_orientation (rather than being n*2*M_PI out)
m_InterpolatedRotY = rotY + deltaClamped - delta;
if (delta != 0)
// Anything smaller than this will not be visible
if (abs(delta) > 0.0001)
m_PositionChanged = true;
break;