]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
rnc: fixed a valgrind warning
authorgdd <gdd>
Thu, 8 Dec 2011 16:16:50 +0000 (16:16 +0000)
committergdd <gdd>
Thu, 8 Dec 2011 16:16:50 +0000 (16:16 +0000)
src/OCCViewer/OCCViewer_ViewWindow.cxx

index c6d6ef54e4a64087bb30017753e9b51a146cdfc0..6c900b90b9b7efb0a6dc62fc228876f329a05458 100755 (executable)
@@ -221,6 +221,7 @@ OCCViewer_ViewWindow::OCCViewer_ViewWindow( SUIT_Desktop*     theDesktop,
   myModel = theModel;
   myRestoreFlag = 0;
   myEnableDrawMode = false;
+  myDrawRect=false;
   updateEnabledDrawMode();
   myClippingDlg = 0;
   myScalingDlg = 0;