Salome HOME
debug of DTM object
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_MergePolylinesOp.cxx
index c5067c84643cff49d6b1474bf8273980365dcf80..b97ca96cea23a3c695990ff80992e5b6dd3f03e6 100644 (file)
@@ -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;