Permalink
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...
1 parent 7be82d7 commit 20056aab89261aebd357f8208cf1a5ce60b419b6 vossg committed Jan 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 20056aa

Please sign in to comment.