From 7f7df9ac926965300d064ae9127077756517e62d Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Mon, 13 Jan 2025 17:43:08 +0100 Subject: [PATCH] #3573 Bug Refresh windows --- bbtk/src/bbmaracasvisuShowNPoints.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() ); } //----------------------------------------------------------------- -- 2.49.0