0020564: EDF 1156 SMESH: SIGSEGV when closing Salome if a clipping plane was defined

This commit is contained in:
dmv 2009-10-30 13:15:15 +00:00
parent ad1014d43c
commit 905b855999

View File

@ -72,7 +72,7 @@
class OrientedPlane: public vtkPlane
{
SVTK_ViewWindow* myViewWindow;
QPointer<SVTK_ViewWindow> myViewWindow;
vtkDataSetMapper* myMapper;
@ -168,6 +168,7 @@ protected:
}
~OrientedPlane(){
if (myViewWindow)
myViewWindow->RemoveActor(myActor);
myActor->Delete();