-
Notifications
You must be signed in to change notification settings - Fork 315
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
[Engine.Select] Automatically find topology in MeshBoundaryROI #5116
base: master
Are you sure you want to change the base?
Conversation
[ci-build][with-all-tests] |
Do we really want to make it automatically ? I guess, it is better to make sure the user knows what he is doing ? MAybe set the ComponentState to invalid instead ? |
I wondered the same question, but I chose consistency with the other ROIs over explicit link setting. Let's decide together. |
core::topology::BaseMeshTopology* topology = nullptr; | ||
this->getContext()->get(topology, core::objectmodel::BaseContext::Local); | ||
|
||
if (topology) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add an error if not found?
+ invalid component state
From the dev meeting;
|
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if