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:
ad1014d
)
0020564: EDF 1156 SMESH: SIGSEGV when closing Salome if a clipping plane was defined
RELIQUAT_5x_30102009
author
dmv
<dmv@opencascade.com>
Fri, 30 Oct 2009 13:15:15 +0000
(13:15 +0000)
committer
dmv
<dmv@opencascade.com>
Fri, 30 Oct 2009 13:15:15 +0000
(13:15 +0000)
src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
b/src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
index 1364b265d38a9436f9cea024343d8fb936f8d5dd..be11acf6cd20a9c0955a1b37113c7d7c7656c18b 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ClippingDlg.cxx
@@
-72,7
+72,7
@@
class OrientedPlane: public vtkPlane
{
-
SVTK_ViewWindow*
myViewWindow;
+
QPointer<SVTK_ViewWindow>
myViewWindow;
vtkDataSetMapper* myMapper;
@@
-168,7
+168,8
@@
protected:
}
~OrientedPlane(){
- myViewWindow->RemoveActor(myActor);
+ if (myViewWindow)
+ myViewWindow->RemoveActor(myActor);
myActor->Delete();
myMapper->RemoveAllInputs();