Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Update VTK to remove unnecessary messages in vtkTransformPolyDataFilter #7227

Merged

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Sep 12, 2023

vtkTransformPolyDataFilter is often used in pipelines where it is completely valid to have empty input.
For example, when slicing through a mesh with a plane, the output may be empty if the plane does not happen to intersect any part of the mesh. Logging an error pollutes the error log and if performed too frequently then it may slow down an application.

List of VTK changes:

$ git shortlog b261e0c1b..b142c0d08 --no-merges
Andras Lasso (1):
      [Backport] Remove unnecessary "No input data" error message in vtkTransformPolyDataFilter

…aFilter

vtkTransformPolyDataFilter is often used in pipelines where it is
completely valid to have empty input.
For example, when slicing through a mesh with a plane, the output may be
empty if the plane does not happen to intersect any part of the mesh.
Logging an error pollutes the error log and if performed too frequently
then it may slow down an application.

List of VTK changes:

$ git shortlog b261e0c1b..b142c0d08 --no-merges
Andras Lasso (1):
      [Backport] Remove unnecessary "No input data" error message in vtkTransformPolyDataFilter

Co-authored-by: Andras Lasso <lasso@queensu.ca>
@jcfr
Copy link
Member Author

jcfr commented Sep 12, 2023

Local testing confirmed that the issue is resolved ✅

Copy link
Contributor

@sjh26 sjh26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jcfr jcfr merged commit f898e9e into Slicer:main Sep 12, 2023
5 checks passed
@jcfr jcfr deleted the update-vtk-backport-vtkTransformPolyDataFilter-fix branch September 12, 2023 15:17
@lassoan lassoan added the backport:5.x Identify pull request expected to be backported to the current 5.x release branch. label Sep 12, 2023
@lassoan
Copy link
Contributor

lassoan commented Sep 12, 2023

Thank you. I've labelled this as need to be backported to Slicer-5.4.1.

@jcfr jcfr removed the backport:5.x Identify pull request expected to be backported to the current 5.x release branch. label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants