]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for the "0020314: EDF 993 SMESH : Display bug with Volumes created by GHS3D"... V6_main_20120221 V6_main_20120222 V6_main_20120224 V6_main_20120227 V6_main_20120228 V6_main_20120229 V6_main_20120302 V6_main_20120305 V6_main_20120306
authorrnv <rnv@opencascade.com>
Mon, 20 Feb 2012 12:23:05 +0000 (12:23 +0000)
committerrnv <rnv@opencascade.com>
Mon, 20 Feb 2012 12:23:05 +0000 (12:23 +0000)
src/OBJECT/VISU_MeshAct.cxx
src/OBJECT/VISU_ScalarMapAct.cxx

index 2e26fcafa1d8f829ab70d910cea681d17e36739a..4d4bb9100504e43ed50a1c60f6967ae72bc43a62 100644 (file)
@@ -56,10 +56,12 @@ VISU_MeshAct
   mySurfaceActor = SVTK_DeviceActor::New();
   mySurfaceActor->SetRepresentation(VTKViewer::Representation::Surface);
   mySurfaceActor->SetUserMatrix(m);
+  mySurfaceActor->SetCoincident3DAllowed(true);
 
   myEdgeActor = SVTK_DeviceActor::New();
   myEdgeActor->SetRepresentation(VTKViewer::Representation::Wireframe);
   myEdgeActor->SetUserMatrix(m);
+  myEdgeActor->SetCoincident3DAllowed(true);
 
   myNodeActor = SVTK_DeviceActor::New();
   myNodeActor->SetRepresentation(VTKViewer::Representation::Points);
index c5334947ac45d6dc0fcee88baac65b27cc76961b..c3adfaafc5843e14da398a3f3f020465c7f58323 100644 (file)
@@ -140,6 +140,8 @@ class VISU_PointsDeviceActor: public VISU_GaussDeviceActorBase
 
     SetPointSpriteMapper( aMapper );
 
+    myGeomFilter->SetAppendCoincident3D(true);
+
     aMapper->Delete();
 
     myEventCallbackCommand->SetClientData( this );
@@ -236,12 +238,15 @@ VISU_ScalarMapAct
   mySurfaceActor->SetRepresentation(VTKViewer::Representation::Surface);
   mySurfaceActor->SetProperty(aProperty);
   mySurfaceActor->SetUserMatrix(aMatrix);
+  mySurfaceActor->SetCoincident3DAllowed(true);
 
   myEdgeActor = SVTK_DeviceActor::New();
   myEdgeActor->SetRepresentation(VTKViewer::Representation::Wireframe);
   myEdgeActor->SetUserMatrix(aMatrix);
   myEdgeActor->GetProperty()->SetColor(255.,255.,255.);
 
+  myEdgeActor->SetCoincident3DAllowed(true);
+
   myPointsActor = SVTK_DeviceActor::New();
   myPointsActor->SetRepresentation(VTKViewer::Representation::Points);
   myPointsActor->SetProperty(aProperty);