Salome HOME
Fix problems with the OpenGL clipping planes.
[modules/smesh.git] / src / OBJECT / SMESH_DeviceActor.h
index e2931d88f0841d53fc1f3e1fbb86643ba6f0a7e1..a7c4dcb4898b0765f876cfdbbc7e7acd46c65fcf 100644 (file)
@@ -161,7 +161,8 @@ class SMESHOBJECT_EXPORT SMESH_DeviceActor: public vtkLODActor{
   VTKViewer_PolyDataMapper *myMapper;
   TVisualObjPtr myVisualObj;
 
-  vtkPlaneCollection* myPlaneCollection;
+  vtkSmartPointer<vtkPlaneCollection> myPlaneCollection;
+  
   vtkProperty *myProperty;
   EReperesent myRepresentation;