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;
}