Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LCM // Import/Export of SHP p.1
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_PolylineOperator.cxx
diff --git
a/src/HYDROData/HYDROData_PolylineOperator.cxx
b/src/HYDROData/HYDROData_PolylineOperator.cxx
index 0bc2d326069380329d9f92e0bb4d15626c24eff5..03e6d6005301e00cc805b613f6e31bfcc585dfbf 100644
(file)
--- a/
src/HYDROData/HYDROData_PolylineOperator.cxx
+++ b/
src/HYDROData/HYDROData_PolylineOperator.cxx
@@
-163,7
+163,10
@@
bool HYDROData_PolylineOperator::Merge( const Handle( HYDROData_Document )& theD
std::vector<TopoDS_Shape> aPolylines(1);
aPolylines[0] = aWireSet;
std::vector<TopoDS_Shape> aPolylines(1);
aPolylines[0] = aWireSet;
- CreatePolylines( theDoc, theName, aPolylines, false, QColor() );
+ QString aName = theName;
+ if( aName.isEmpty() )
+ aName = "merged";
+ CreatePolylines( theDoc, aName, aPolylines, true, QColor() );
return true;
}
return true;
}