myIsPointsVisible = false;
myIsEntityModeCache = false;
myRepresentationCache = 0;
+ objectEntitiesCache = 0;
myHighlightActor = SMESH_SVTKActor::New();
myHighlightActor->Delete(); // vtkSmartPointer!
SetRepresentation( ePoint );
}
+ if ( anObjectEntities != 0 && objectEntitiesCache == 0 )
+ {
+ objectEntitiesCache = anObjectEntities;
+ SetRepresentation( eSurface );
+ }
+
if ( myEntityMode != theMode )
{
myEntityMode = theMode; // entities to show
unsigned int myEntityMode;
unsigned int myEntityModeCache;
+ unsigned int objectEntitiesCache;
int myRepresentationCache;
bool myIsEntityModeCache;
bool myIsPointsVisible;