From 60db5027a59004a9070c4ff68b4ce4120db2a98c Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 10 Oct 2019 11:45:23 +0200 Subject: [PATCH] #3312 creaMaracasVisu Feature New Normal - Optimisation fill tool in manual _paint --- .../interface/wxWindows/widgets/manualPaint/FillFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/FillFilter.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/FillFilter.cpp index 4ffbbc3..04e5b61 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/FillFilter.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/FillFilter.cpp @@ -74,9 +74,9 @@ void FillFilter::SetImages(vtkImageData *image,vtkImageData *image2) // virtual #else _auxImageFill->AllocateScalars(VTK_UNSIGNED_CHAR,1); #endif - unsigned char * ptrAuxImageFill = (unsigned char *)_auxImageFill->GetScalarPointer(); - memset(ptrAuxImageFill, 0, (_maxX+1) * (_maxY+1) * (_maxZ+1) ); } + unsigned char * ptrAuxImageFill = (unsigned char *)_auxImageFill->GetScalarPointer(); + memset(ptrAuxImageFill, 0, (_maxX+1) * (_maxY+1) * (_maxZ+1) ); _maxXback=_maxX; _maxYback=_maxY; -- 2.47.1