From: gdd Date: Thu, 8 Dec 2011 16:16:50 +0000 (+0000) Subject: rnc: fixed a valgrind warning X-Git-Tag: pxsxl1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9969ac377c999375783a77d409ba11a6b3055c61;p=modules%2Fgui.git rnc: fixed a valgrind warning --- diff --git a/src/OCCViewer/OCCViewer_ViewWindow.cxx b/src/OCCViewer/OCCViewer_ViewWindow.cxx index c6d6ef54e..6c900b90b 100755 --- a/src/OCCViewer/OCCViewer_ViewWindow.cxx +++ b/src/OCCViewer/OCCViewer_ViewWindow.cxx @@ -221,6 +221,7 @@ OCCViewer_ViewWindow::OCCViewer_ViewWindow( SUIT_Desktop* theDesktop, myModel = theModel; myRestoreFlag = 0; myEnableDrawMode = false; + myDrawRect=false; updateEnabledDrawMode(); myClippingDlg = 0; myScalingDlg = 0;