Skip to content

Commit

Permalink
BUG: BinaryGeneratorImageFilter's progress did not reach 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Jan 6, 2022
1 parent 83d2379 commit 5c6497f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ class ITK_TEMPLATE_EXPORT BinaryGeneratorImageFilter : public InPlaceImageFilter
DynamicThreadedGenerateDataWithFunctor(const TFunctor &, const OutputImageRegionType & outputRegionForThread);
void
DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
void
AfterThreadedGenerateData() override
{
this->UpdateProgress(1.0);
}

// Needed to take the image information from the 2nd input, if the first one is
// a simple decorated object.
Expand Down

0 comments on commit 5c6497f

Please sign in to comment.