Salome HOME
Proper conditional compilation: a way OCCT dev version is detected has been modified...
[modules/gui.git] / src / OCCViewer / OCCViewer_CreateRestoreViewDlg.cxx
index 36b7615b12f47ad93d4c42f2d75c3573a00f8b44..195d81485f8273d82c0d132ac0e809c1ed16f9ed 100755 (executable)
@@ -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 );