]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
1. Make selection be in time according to presentation state (deformed/ result)
authorapo <apo@opencascade.com>
Tue, 6 Dec 2005 12:23:02 +0000 (12:23 +0000)
committerapo <apo@opencascade.com>
Tue, 6 Dec 2005 12:23:02 +0000 (12:23 +0000)
2. Restore picking in segemented view

src/OBJECT/VISU_GaussPtsAct.cxx

index 9c69b73c12397ef37db6c4242a608a996199c7d5..c0c1e5c898df6a8f8d765af1352ec7f9cdea3582 100644 (file)
@@ -205,6 +205,7 @@ vtkMapper*
 VISU_GaussPtsAct
 ::GetMapper()
 {
+  myMapper->Update();
   return Superclass::GetMapper();
 }
 
@@ -1261,12 +1262,13 @@ VISU_GaussPtsAct2
 {
   if(MYDEBUG2) MESSAGE("VISU_GaussPtsAct2::SetMapperInput - this = "<<this);
 
-  Superclass::SetMapperInput(theDataSet);
-
   if(VISU_GaussPointsPL* aPipeLine = CreatePipeLine(GetGaussPointsPL())){
     myDeviceActor->SetPipeLine(aPipeLine);
     myCurrentPL = aPipeLine;
     aPipeLine->Delete();
+
+    myMapper->SetInput(myCurrentPL->GetPickableDataSet());
+    SetMapper(myMapper.GetPointer());
   }
 }