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

Add check for binding a representation in View2DProxy #2935

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

bruyeret
Copy link
Contributor

The argument of bindRepresentationToManipulator should be a proxy
Add a check to ensure that it is indeed a proxy in addRepresentation

Also add a test to avoid regression

@bruyeret bruyeret requested review from finetjul and jadh4v October 17, 2023 13:50
Copy link
Member

@finetjul finetjul left a comment

Choose a reason for hiding this comment

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

LGTM but I do not know much of proxies...

The argument of `bindRepresentationToManipulator` should be a proxy
Add a test to ensure that it is indeed a proxy in `addRepresentation`
@bruyeret
Copy link
Contributor Author

I moved the check in bindRepresentationToManipulator() as you suggested @jadh4v

Copy link
Collaborator

@jadh4v jadh4v left a comment

Choose a reason for hiding this comment

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

LGTM

@finetjul finetjul added this pull request to the merge queue Oct 17, 2023
Merged via the queue into Kitware:master with commit 91c456a Oct 17, 2023
4 checks passed
@bruyeret bruyeret deleted the fix-proxy-rep branch October 18, 2023 07:31
@github-actions
Copy link

🎉 This PR is included in version 28.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Automated label label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Automated label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants