0052442: Locations arguments does not work with pipe construction

This commit is contained in:
skv 2014-08-22 09:48:22 +04:00
parent 9b95aa0085
commit fe13e168ce

View File

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