Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44e1f0
)
Error after Close Study with Change Clipping dialog box opened. Sometimes it either...
author
dmv
<dmv@opencascade.com>
Mon, 13 Oct 2008 11:47:53 +0000
(11:47 +0000)
committer
dmv
<dmv@opencascade.com>
Mon, 13 Oct 2008 11:47:53 +0000
(11:47 +0000)
src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
b/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
index ff76c1beeccb6e004ff83fcc0be6935d2da7263e..b1cc8a6b83cf0910fed70a92aa2dd01012cb168e 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
@@
-471,9
+471,9
@@
SMESHGUI_ClippingDlg::~SMESHGUI_ClippingDlg()
{
// no need to delete child widgets, Qt does it all for us
std::for_each(myPlanes.begin(),myPlanes.end(),TSetVisiblity(false));
-
- if (SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow(mySMESHGUI))
- SMESH::RenderViewWindow(aViewWindow);
+ if (mySMESHGUI)
+
if (SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow(mySMESHGUI))
+
SMESH::RenderViewWindow(aViewWindow);
}
double SMESHGUI_ClippingDlg::getDistance() const