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

[Simulation.Core] BaseMechanicalVisitor: Deprecate rootData #4350

Merged
merged 3 commits into from
Dec 20, 2023

Conversation

fredroy
Copy link
Contributor

@fredroy fredroy commented Dec 12, 2023

It was only used if a "LocalStorage" stack was provided but #4327 showed that it was not used actually.
(and #4328 showed it was used it in a wrong way)

So this PR makes all the related stuff (nodedata member, readNodeData and writeNodeData) non-functional at all


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

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

@fredroy fredroy added pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code deprecated About a deprecated code labels Dec 12, 2023
@fredroy fredroy added this to the v24.06 milestone Dec 12, 2023
@fredroy
Copy link
Contributor Author

fredroy commented Dec 13, 2023

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

@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 Dec 13, 2023
@fredroy fredroy force-pushed the remove_simucore_nodedata branch from 2fed67b to 0edc969 Compare December 19, 2023 06:45
@bakpaul bakpaul merged commit b1c49a7 into sofa-framework:master Dec 20, 2023
10 checks passed
fredroy added a commit to fredroy/sofa that referenced this pull request Dec 21, 2023
…mework#4350)

* remove ref to nodedata

* add compat

* Update Sofa/framework/Simulation/Core/src/sofa/simulation/config.h.in (typo)

Co-authored-by: Alex Bilger <[email protected]>

---------

Co-authored-by: Alex Bilger <[email protected]>
@fredroy fredroy deleted the remove_simucore_nodedata branch January 7, 2024 23:40
hugtalbot pushed a commit to hugtalbot/sofa that referenced this pull request Jan 16, 2024
…mework#4350)

* remove ref to nodedata

* add compat

* Update Sofa/framework/Simulation/Core/src/sofa/simulation/config.h.in (typo)

Co-authored-by: Alex Bilger <[email protected]>

---------

Co-authored-by: Alex Bilger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecated About a deprecated code pr: clean Cleaning the code pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants