#include "HYDROGUI_DataModel.h"
#include "HYDROGUI_Module.h"
#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
#include "HYDROGUI_UpdateFlags.h"
#include <HYDROData_Obstacle.h>
anIsOk = true;
} else if ( myOpType == ImportSelectedAsPolyline ) {
Handle(HYDROData_PolylineXY) aPolyline = Handle(HYDROData_PolylineXY)::DownCast( anObject );
- anIsOk = aPolyline->ImportShape( aShape );
+ anIsOk = aPolyline->ImportShape( aShape, false, NULL );
/* TODO: check it before start operation
if ( anIsOk && !aPolyline->IsEditable() )
aTypes << GEOM::WIRE << GEOM::EDGE;
return aTypes;
-}
\ No newline at end of file
+}