Skip to content

[All] Fix remaining deprecation warnings - #6413

Open
fredroy wants to merge 1 commit into
sofa-framework:masterfrom
fredroy:fix_deprecation_warnings
Open

fredroy wants to merge 1 commit into
sofa-framework:masterfrom
fredroy:fix_deprecation_warnings

Conversation

@fredroy

@fredroy fredroy commented Oct 16, 2026

Copy link
Copy Markdown
Contributor
  • Replace BaseObject/Constraint.inl includes with BaseComponent/LagrangianConstraint.inl
  • Remove unused MechanicalGetNonDiagonalMassesCountVisitor includes
  • Silence header warnings for deprecated visitors still used internally
  • Use DifferentialOperations::pushforwardCoord in StaticEquilibriumIntegrationScheme
  • Use computeTriangleBarycentricCoordinates instead of deprecated barycoefs functions
  • Avoid deprecated Vec conversion in DrawToolGL::drawFrame

[with-all-tests]


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: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request pr: AI-aided Label notifying the reviewers that part or all of the PR has been generated with the help of an AI labels Oct 16, 2026
@fredroy
fredroy force-pushed the fix_deprecation_warnings branch from 44d0a4b to cb00eb0 Compare October 16, 2026 05:31
@fredroy fredroy added the pr: clean Cleaning the code label Oct 16, 2026
- Replace BaseObject/Constraint.inl includes with BaseComponent/LagrangianConstraint.inl
- Remove unused MechanicalGetNonDiagonalMassesCountVisitor includes
- Silence header warnings for deprecated visitors still used internally
- Use DifferentialOperations::pushforwardCoord in StaticEquilibriumIntegrationScheme
- Use computeTriangleBarycentricCoordinates instead of deprecated barycoefs functions
- Avoid deprecated Vec conversion in DrawToolGL::drawFrame
@fredroy
fredroy force-pushed the fix_deprecation_warnings branch from cb00eb0 to 3b8a7ff Compare October 22, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: AI-aided Label notifying the reviewers that part or all of the PR has been generated with the help of an AI pr: clean Cleaning the code pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants