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

[SofaBaseTopology] Fix right setDirty/clean topologyData #889

Merged
merged 5 commits into from
Jan 22, 2019

Conversation

epernod
Copy link
Contributor

@epernod epernod commented Jan 14, 2019

Cherry pick last useful changes from PR #788

All topologyData were set to dirty as soon as a topology modification was done. Check the Data link and set/clean dirty only topologyData link to the topology array modified.

NB: factorisation will be done as soon as everything work fine. Having several methods per topology make my eyes cry but it helps to follow the data link for debug.


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

…od to update only engines linked to triangles Data.
…ll children topology engine to dirty. Add security loop to clean topology engine into cleanContainerTopologyFromDirty.
…now done when topology buffer is set to dirty.
@epernod epernod added pr: fix Fix a bug pr: status to review To notify reviewers to review this pull-request labels Jan 14, 2019
@epernod epernod self-assigned this Jan 14, 2019
@epernod
Copy link
Contributor Author

epernod commented Jan 14, 2019

[ci-build][with-all-tests]

@guparan guparan added pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Jan 16, 2019
@epernod epernod added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jan 18, 2019
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jan 21, 2019
@guparan guparan merged commit fa74d92 into sofa-framework:master Jan 22, 2019
@epernod epernod deleted the topology_cleaning branch May 4, 2019 16:10
@guparan guparan added this to the v19.06 milestone Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix Fix a bug pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants