]> Creatis software - creaMaracasVisu.git/commitdiff
#3573 Bug Refresh windows
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Mon, 13 Jan 2025 16:43:08 +0000 (17:43 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Mon, 13 Jan 2025 16:43:08 +0000 (17:43 +0100)
bbtk/src/bbmaracasvisuShowNPoints.cxx

index e5694152fa759a5dc0747fe9f197b3e6e2bca674..cf5fcf88dd8112498091226cf144bf773c8bcbfa 100644 (file)
@@ -103,7 +103,7 @@ void ShowNPoints::Process()
     if (mwxwidget!=NULL)
     {
         mwxwidget->SetImage( bbGetInputImage() );
-        mwxwidget->SetRenderer( bbGetInputRenderer() );
+//        mwxwidget->SetRenderer( bbGetInputRenderer() );
         mwxwidget->SetReferencePoint( bbGetInputIn() );
         mwxwidget->SetColour( bbGetInputColour() );
         //             mwxwidget->SetOpacity( bbGetInputOpacity() );
@@ -150,7 +150,8 @@ void ShowNPoints::CreateWidget(wxWindow* parent)
 //-----------------------------------------------------------------
 void  ShowNPoints::OnShowWidget()
 {
-//    mwxwidget->SetRenderer( bbGetInputRenderer() );
+    mwxwidget->SetRenderer( bbGetInputRenderer() );
+    mwxwidget->SetInitLstPoints( bbGetInputInitLstPointsX() , bbGetInputInitLstPointsY() , bbGetInputInitLstPointsZ() , bbGetInputInitLstLabels() ,  bbGetInputInitLstIndexs() );
 }
 
 //-----------------------------------------------------------------