Skip to content

Commit

Permalink
fixed: index error in copyLast
Browse files Browse the repository at this point in the history
git-svn-id: https://opensg.vrsource.org/svn/trunk@2265 4683daeb-ad0f-0410-a623-93161e962ae5
  • Loading branch information
vossg committed Jan 10, 2010
1 parent 7be82d7 commit 20056aa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
Expand Down

0 comments on commit 20056aa

Please sign in to comment.