mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 01:10:35 +05:00
Fix for '54311: Ugly representation in the VTK Viewer after creation of the ParaView Viewer' issue.
This commit is contained in:
parent
291fbe554b
commit
7b117d9ccb
@ -37,6 +37,7 @@
|
||||
#include <VTKViewer_Transform.h>
|
||||
#include <VTKViewer_TransformFilter.h>
|
||||
#include <VTKViewer_ExtractUnstructuredGrid.h>
|
||||
#include <VTKViewer_Actor.h>
|
||||
|
||||
// VTK Includes
|
||||
#include <vtkObjectFactory.h>
|
||||
@ -94,8 +95,8 @@ SMESH_DeviceActor
|
||||
myMapper = VTKViewer_PolyDataMapper::New();
|
||||
myPlaneCollection = vtkPlaneCollection::New();
|
||||
|
||||
vtkMapper::GetResolveCoincidentTopologyPolygonOffsetParameters(myPolygonOffsetFactor,
|
||||
myPolygonOffsetUnits);
|
||||
VTKViewer_Actor::GetDefaultPolygonOffsetParameters(myPolygonOffsetFactor,
|
||||
myPolygonOffsetUnits);
|
||||
|
||||
myMapper->UseLookupTableScalarRangeOn();
|
||||
myMapper->SetColorModeToMapScalars();
|
||||
|
Loading…
Reference in New Issue
Block a user