Salome HOME
0023097: EDF GEOM: [HYDRO 513] Fit only on selected objects
[modules/gui.git] / src / OCCViewer / OCCViewer_CreateRestoreViewDlg.cxx
index 36b7615b12f47ad93d4c42f2d75c3573a00f8b44..fd110bd3843bd722302016266fd5beb8eee09704 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -157,7 +157,7 @@ void OCCViewer_CreateRestoreViewDlg::changeImage( QListWidgetItem* curItem )
     
     Standard_Boolean prev = aView3d->SetImmediateUpdate( Standard_False );
     aView3d->SetScale( myCurrentItem.scale );
-#if OCC_VERSION_LARGE <= 0x06070000
+#if OCC_VERSION_LARGE <= 0x06070100
     aView3d->SetCenter( myCurrentItem.centerX, myCurrentItem.centerY );
 #endif
     aView3d->SetProj( myCurrentItem.projX, myCurrentItem.projY, myCurrentItem.projZ );