From: eduardo.davila@creatis.insa-lyon.fr Date: Mon, 13 Jan 2025 16:43:08 +0000 (+0100) Subject: #3573 Bug Refresh windows X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7f7df9ac926965300d064ae9127077756517e62d;p=creaMaracasVisu.git #3573 Bug Refresh windows --- diff --git a/bbtk/src/bbmaracasvisuShowNPoints.cxx b/bbtk/src/bbmaracasvisuShowNPoints.cxx index e569415..cf5fcf8 100644 --- a/bbtk/src/bbmaracasvisuShowNPoints.cxx +++ b/bbtk/src/bbmaracasvisuShowNPoints.cxx @@ -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() ); } //-----------------------------------------------------------------