]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0052442: Locations arguments does not work with pipe construction
authorskv <skv@opencascade.com>
Fri, 22 Aug 2014 05:48:22 +0000 (09:48 +0400)
committerskv <skv@opencascade.com>
Fri, 22 Aug 2014 05:48:22 +0000 (09:48 +0400)
src/GenerationGUI/GenerationGUI_PipeDlg.cxx

index 8e264045e925c4f0c7acf0503ec0d9b126d2dc60..2068d5fda15525e577d7a98e5dba422cea20000c 100644 (file)
@@ -319,7 +319,6 @@ void GenerationGUI_PipeDlg::SelectionIntoArgument()
     }
   }
   else if ( myEditCurrentArgument == GroupMakePoints->LineEdit1 ) {
-    myBaseObjects.clear();
     QList<TopAbs_ShapeEnum> types;
     types << TopAbs_EDGE << TopAbs_WIRE << TopAbs_FACE << TopAbs_SHELL;
     QList<GEOM::GeomObjPtr> objects = getSelected( types, -1 );
@@ -330,7 +329,6 @@ void GenerationGUI_PipeDlg::SelectionIntoArgument()
     }
   }
   else if ( myEditCurrentArgument == GroupMakePoints->LineEdit2 ) {
-    myLocations.clear();
     localSelection( GEOM::GEOM_Object::_nil(), TopAbs_VERTEX );
     QList<GEOM::GeomObjPtr> objects = getSelected( TopAbs_VERTEX, -1 );
     GEOMBase::Synchronize( myLocations, objects );