]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
rnc : commented a functionnality which needs a patched version of OCC
authorgdd <gdd>
Mon, 10 Oct 2011 15:28:44 +0000 (15:28 +0000)
committergdd <gdd>
Mon, 10 Oct 2011 15:28:44 +0000 (15:28 +0000)
src/OCCViewer/OCCViewer_ViewModel.cxx

index 0d9aae581962b577c299467bf872f4c4b56fcf21..52b3521d55183093d3d288b1b9c98876549d1425 100755 (executable)
@@ -500,7 +500,8 @@ void OCCViewer_Viewer::onChangeBgImageStretched()
   
   QString selFile = QFileDialog::getOpenFileName(aView,tr( "SELECT_IMAGE"),aView->backgroundImageFilename(), tr("OCC_IMAGE_FILES"));
   if ( ! selFile.isEmpty() )
-    aView->setBackgroundImage(selFile,Aspect_FM_STRETCH_NODEF);
+    aView->setBackgroundImage(selFile,Aspect_FM_STRETCH);
+//     aView->setBackgroundImage(selFile,Aspect_FM_STRETCH_NODEF);
 }
 /*!
   Updates OCC 3D viewer