Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed: index error in copyLast

git-svn-id: https://opensg.vrsource.org/svn/trunk@2265 4683daeb-ad0f-0410-a623-93161e962ae5
  • Loading branch information...
commit 20056aab89261aebd357f8208cf1a5ce60b419b6 1 parent 7be82d7
vossg authored
View
2  Source/System/Dynamics/VRMLAnimation/Helper/OSGInterpolationHelper.inl
@@ -159,7 +159,7 @@ void InterpolationHelper<MFReal32,
UInt32 uiNumPoints = UInt32(mfKeyValues.size() / mfKeys.size());
MFPnt3f::const_iterator stopIt = mfKeyValues.end();
- MFPnt3f::const_iterator startIt = stopIt - (uiNumPoints + 1);
+ MFPnt3f::const_iterator startIt = stopIt - uiNumPoints;
fValue.clear();
fValue.insert(fValue.begin(), startIt, stopIt);
Please sign in to comment.
Something went wrong with that request. Please try again.