[SofaBaseVisual] Fix VisualModelImpl to use topologyData and callback to handle topological changes#2300
Merged
fredroy merged 5 commits intosofa-framework:masterfrom Oct 3, 2021
Conversation
Contributor
|
Missing the include of an *.inl |
cb2463c to
b4b3028
Compare
b4b3028 to
cac40a0
Compare
d1619f2 to
26b5a93
Compare
Contributor
Author
|
This PR is now including a fix pushed in PR #2359 . Waiting for this new PR approval first. |
Contributor
Author
|
[ci-build][with-all-tests] |
… follow topological changes
…ove the handleTopologyChange method
…ndle texture coord update during topological changes
45cdf57 to
7307300
Compare
Contributor
Author
|
[ci-build][with-all-tests] |
… element from topology event. Those elements are updated at next updateVisual. This avoid too many computation in callback and also avoid to update the whole triangles/quads buffer at each new event.
…me empty during topology operation.
7d87a2d to
0e23412
Compare
fredroy
approved these changes
Oct 1, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR depends on PR #2299 (should be rebased)
-> Using the callback on texcoords, use ancestors and coefficient of added point to apply the good texCoords

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