Salome HOME
size of image is limited by 7000 pixels
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Overview.cxx
index 88ba1438ab4603e76315061b57d17c9ba3d9927f..f7185a2fa587e21e7bfc29fc0612b1cf77eef8aa 100644 (file)
@@ -315,7 +315,7 @@ void HYDROGUI_Overview::setMainView( OCCViewer_ViewFrame* theMainView )
   if( !myViewPort )
   {
     myViewPort = new OCCViewer_ViewPort3d( this, myMainView->getViewPort()->getViewer(), V3d_ORTHOGRAPHIC );
-    //myViewPort->setBackgroundColor( Qt::white );
+    myViewPort->setBackgroundColor( myMainView->getViewPort()->backgroundColor() );
 
     connect( myViewPort, SIGNAL( vpMouseEvent( QMouseEvent* ) ), 
             this,       SLOT( OnMouseEvent( QMouseEvent* ) ) );