From: nds Date: Tue, 3 Dec 2013 09:16:05 +0000 (+0000) Subject: OCC functionality moving out from the widget X-Git-Tag: BR_hydro_v_0_4~83 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5c2d86b38d1f9857c204c3a0df6f41459aa74c1c;p=modules%2Fhydro.git OCC functionality moving out from the widget --- 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);