mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30: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
|
// no need to delete child widgets, Qt does it all for us
|
||||||
std::for_each(myPlanes.begin(),myPlanes.end(),TSetVisiblity(false));
|
std::for_each(myPlanes.begin(),myPlanes.end(),TSetVisiblity(false));
|
||||||
|
if (mySMESHGUI)
|
||||||
if (SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow(mySMESHGUI))
|
if (SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow(mySMESHGUI))
|
||||||
SMESH::RenderViewWindow(aViewWindow);
|
SMESH::RenderViewWindow(aViewWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
double SMESHGUI_ClippingDlg::getDistance() const
|
double SMESHGUI_ClippingDlg::getDistance() const
|
||||||
|
Loading…
Reference in New Issue
Block a user