std::list<float> aSelectedList = CurveCreator_Utils::getSelectedPoints( aContext );
std::list<float>::const_iterator anIt = aSelectedList.begin(), aLast = aSelectedList.end();
- float aX, anY, aZ;
bool isBlocked = myLocalPointView->blockSignals(true);
myLocalPointView->setRowCount( 0 );
for ( ; anIt != aLast; anIt++ )
{
- aX = *anIt;
+ float aX = *anIt;
anIt++;
- anY = *anIt;
+ float anY = *anIt;
anIt++;
- aZ = *anIt;
+ float aZ = *anIt;
addLocalPointToTable( aX, anY );
}
myLocalPointView->blockSignals(isBlocked);