]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
trying to highlight selected points on bathymetry
authorPaul RASCLE <paul.rascle@openfields.fr>
Sun, 20 Sep 2020 19:56:41 +0000 (21:56 +0200)
committerYOANN AUDOUIN <B61570@dsp0851742.postes.calibre.edf.fr>
Fri, 30 Oct 2020 16:08:09 +0000 (17:08 +0100)
src/HYDROGUI/HYDROGUI_BathymetryPrs.cxx
src/HYDROGUI/HYDROGUI_BathymetrySelectionOp.cxx

index 1b7b1b2c6db2f1db742beacd47ba58a49bb62a50..a1ab3c081bc12a262dc3ac2fd32184bebdebb6d9 100644 (file)
@@ -335,7 +335,7 @@ void HYDROGUI_BathymetryPrs::HilightSelected( const Handle(PrsMgr_PresentationMa
     if (!anOwner.IsNull())
       mySelectedPoints.append(anOwner->GetIndex());
     }
-
+  DEBTRACE("points selected " << points->ItemNumber());
   Handle(Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup( aSelectPrs );
   //Handle(Graphic3d_Group) aGroup = aSelectPrs->NewGroup();
   Handle(Graphic3d_AspectMarker3d) anAspect = new Graphic3d_AspectMarker3d( Aspect_TOM_X, Quantity_NOC_WHITE, 1.0 );
index d64a4a2e166713b15a87402f8931554575eca200..c178f396bb3794f573d12a2e2fb03d9593a2395b 100644 (file)
@@ -131,7 +131,7 @@ void HYDROGUI_BathymetrySelectionOp::activateSelection( bool isActive )
       ctx->RemoveFilters();
       //ctx->Activate( bath, aSelectionMode, Standard_True );
       ctx->SetSelectionModeActive (bath, aSelectionMode, Standard_True, AIS_SelectionModesConcurrency_Multiple, Standard_False);
-      ctx->SetSelectionModeActive (bath, 0, Standard_True, AIS_SelectionModesConcurrency_Multiple, Standard_False);
+      //ctx->SetSelectionModeActive (bath, 0, Standard_True, AIS_SelectionModesConcurrency_Multiple, Standard_False);
       bath->SetAutoHilight( Standard_False ); // True bloque le passage dans hilightSelected...
 //      DEBTRACE("immediateMode: " << ctx->MainPrsMgr()->IsImmediateModeOn());
 //      if (!ctx->MainPrsMgr()->IsImmediateModeOn())