Salome HOME
Merge remote-tracking branch 'origin/BR_1321_ECW' into BR_DEMO
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Poly3DOp.cxx
index 0c1f2b2f64584e7cdae874becea06c52a625a2b5..3c505853e9989e51b936271ade3eeb6665ab0030 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "HYDROGUI_Module.h"
 #include <HYDROGUI_DataObject.h>
-#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
 #include "HYDROGUI_Poly3DDlg.h"
 #include "HYDROGUI_UpdateFlags.h"
 
@@ -173,7 +173,7 @@ bool HYDROGUI_Poly3DOp::processApply( int& theUpdateFlags,
 
   if( !myIsEdit )
   {
-    aResult->SetBorderColor( HYDROData_Polyline3D::DefaultBorderColor() );
+    aResult->SetBorderColor( aResult->DefaultBorderColor() );
   }
 
   aResult->Update();