]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #250 - Fatal error after Join all selections operation
authornds <nds@opencascade.com>
Tue, 17 Dec 2013 10:49:12 +0000 (10:49 +0000)
committernds <nds@opencascade.com>
Tue, 17 Dec 2013 10:49:12 +0000 (10:49 +0000)
src/HYDROCurveCreator/CurveCreator_Widget.cxx

index 3cd3f4e9c6823c46eb02611275b7acb6b16ccd85..a808b1406c1442132ca2f63ad7fd01e9a5813761 100644 (file)
@@ -719,7 +719,7 @@ void CurveCreator_Widget::onJoinAll()
   if( !myCurve )
     return;
   stopActionMode();
-  myCurve->join( 0, myCurve->getNbSections() );
+  myCurve->join( 0, myCurve->getNbSections()-1 );
   mySectionView->reset();
   updateActionsStates();
   updateUndoRedo();