From 5c2d86b38d1f9857c204c3a0df6f41459aa74c1c Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 3 Dec 2013 09:16:05 +0000 Subject: [PATCH] OCC functionality moving out from the widget --- src/HYDROCurveCreator/CurveCreator_Widget.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.cxx b/src/HYDROCurveCreator/CurveCreator_Widget.cxx index 16a2da79..3d65fc58 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Widget.cxx @@ -1237,17 +1237,16 @@ void CurveCreator_Widget::updateLocalPointView() std::list aSelectedList = CurveCreator_Utils::getSelectedPoints( aContext ); std::list::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); -- 2.39.2