X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_MergePolylinesOp.cxx;h=b97ca96cea23a3c695990ff80992e5b6dd3f03e6;hb=dfa894b758ac65080dc7185d25b7646dc45a10f4;hp=c5067c84643cff49d6b1474bf8273980365dcf80;hpb=b62210e48be9a46b9a7d2c85ecce2fdccefbfa07;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_MergePolylinesOp.cxx b/src/HYDROGUI/HYDROGUI_MergePolylinesOp.cxx index c5067c84..b97ca96c 100644 --- a/src/HYDROGUI/HYDROGUI_MergePolylinesOp.cxx +++ b/src/HYDROGUI/HYDROGUI_MergePolylinesOp.cxx @@ -61,7 +61,8 @@ bool HYDROGUI_MergePolylinesOp::processApply( int& theUpdateFlags, bool isConnectByNewSegment = aPanel->IsConnectByNewSegment(); HYDROData_SequenceOfObjects aPolylinesList = aPanel->selectedPolylines(); HYDROData_PolylineOperator anOp; - anOp.Merge( doc(), aName.toLatin1().data(), aPolylinesList, isConnectByNewSegment ); + double aTolerance = 1E-7; //TODO + anOp.Merge( doc(), aName.toLatin1().data(), aPolylinesList, isConnectByNewSegment, aTolerance ); theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer; return true;