]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
OCC functionality moving out from the widget
authornds <nds@opencascade.com>
Tue, 3 Dec 2013 09:16:05 +0000 (09:16 +0000)
committernds <nds@opencascade.com>
Tue, 3 Dec 2013 09:16:05 +0000 (09:16 +0000)
src/HYDROCurveCreator/CurveCreator_Widget.cxx

index 16a2da7942c38774237a96e625a9d34a1c47d376..3d65fc5863ec74facd66aba15df8558d9b12ec40 100644 (file)
@@ -1237,17 +1237,16 @@ void CurveCreator_Widget::updateLocalPointView()
   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);