mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-12 20:47:28 +05:00
Fix problems with the OpenGL clipping planes.
This commit is contained in:
parent
fad37730ee
commit
6e68fcd497
@ -2207,6 +2207,9 @@ SMESH_ActorDef::SetOpenGLClippingPlane()
|
||||
my3DExtActor->SetPlaneCollection( myPlaneCollection );
|
||||
my3DExtActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());
|
||||
|
||||
if(IsShrunk())
|
||||
SetShrink();
|
||||
else
|
||||
Modified();
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,6 @@ SMESH_DeviceActor
|
||||
if(MYDEBUG) MESSAGE("~SMESH_DeviceActor - "<<this);
|
||||
|
||||
myMapper->Delete();
|
||||
myPlaneCollection->Delete();
|
||||
|
||||
myProperty->Delete();
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user