Salome HOME
refs #1508
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_LandCoverColoringOp.cxx
index 0cf45ced6c33dd9a529a128d9a9797f726b8bced..2b17f3e879fad1b1094a88eac325108c015e6d30 100644 (file)
@@ -21,7 +21,7 @@
 #include "HYDROGUI_Module.h"
 #include "HYDROGUI_OCCDisplayer.h"
 #include "HYDROGUI_Operations.h"
-#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
 #include "HYDROGUI_UpdateFlags.h"
 
 #include <HYDROData_Iterator.h>
@@ -60,7 +60,7 @@ void HYDROGUI_LandCoverColoringOp::startOperation()
 
   LightApp_Application* anApp = module()->getApp();
   OCCViewer_ViewManager* aViewManager =
-    dynamic_cast<OCCViewer_ViewManager*>( anApp->getViewManager( OCCViewer_Viewer::Type(), true ) );
+    dynamic_cast<OCCViewer_ViewManager*>( anApp->getViewManager( OCCViewer_Viewer::Type(), false ) );
 
   size_t aViewId = (size_t)aViewManager->getViewModel();