mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
Error after Close Study with Change Clipping dialog box opened. Sometimes it either crashes or hangs up.
This commit is contained in:
parent
a44e1f088c
commit
c5e983833f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user