We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce5efa9 + c06c80e commit a7360d6Copy full SHA for a7360d6
1 file changed
include/osgAnimation/Keyframe
@@ -105,12 +105,12 @@ namespace osgAnimation
105
// 2. build deduplicated list of keyframes
106
unsigned int cumul = 0;
107
VectorType deduplicated;
108
- for(std::vector<unsigned int>::iterator iterator = intervalSizes.begin() ; iterator != intervalSizes.end() ; ++ iterator) {
+ for(std::vector<unsigned int>::iterator it = intervalSizes.begin() ; it != intervalSizes.end() ; ++ it) {
109
deduplicated.push_back((*this)[cumul]);
110
- if(*iterator > 1) {
111
- deduplicated.push_back((*this)[cumul + (*iterator) - 1]);
+ if(*it > 1) {
+ deduplicated.push_back((*this)[cumul + (*it) - 1]);
112
}
113
- cumul += *iterator;
+ cumul += *it;
114
115
116
unsigned int count = size() - deduplicated.size();
0 commit comments