]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix regression: storeViewParameters() does not work for OCC view
authorvsr <vsr@opencascade.com>
Mon, 24 Jan 2011 15:20:25 +0000 (15:20 +0000)
committervsr <vsr@opencascade.com>
Mon, 24 Jan 2011 15:20:25 +0000 (15:20 +0000)
src/GEOMGUI/GeometryGUI.cxx

index 63fb01bf44a90dca3a463cbadd1104a104d39340..e502b685d8e60adc1c276348a37880722985048a 100644 (file)
@@ -1776,7 +1776,7 @@ void GeometryGUI::storeVisualParameters (int savePoint)
       QVector<SUIT_ViewWindow*> views = vman->getViews();
       for (int i = 0, iEnd = vman->getViewsCount(); i < iEnd; i++)
       {
-        SOCC_ViewWindow* occView = dynamic_cast<SOCC_ViewWindow*>(views[i]);
+        OCCViewer_ViewWindow* occView = dynamic_cast<OCCViewer_ViewWindow*>(views[i]);
         if (occView)
         {
           //Handle(AIS_InteractiveContext) ic =