diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6052232..0431e25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04, macos-14, windows-2022] - sofa_branch: [master] + sofa_branch: [v25.06] steps: - name: Setup SOFA and environment diff --git a/src/InfinyToolkit/CarvingTools/RefineCarvingPerformer.cpp b/src/InfinyToolkit/CarvingTools/RefineCarvingPerformer.cpp index 3a2f793..d6c92e7 100644 --- a/src/InfinyToolkit/CarvingTools/RefineCarvingPerformer.cpp +++ b/src/InfinyToolkit/CarvingTools/RefineCarvingPerformer.cpp @@ -150,7 +150,7 @@ void RefineCarvingPerformer::simpleCarving() { component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr; m_topologyCon->getContext()->get(meca); - helper::ReadAccessor< Data > vertices = meca->read(core::VecCoordId::position()); + helper::ReadAccessor< Data > vertices = meca->read(sofa::core::vec_id::write_access::position); const SReal& carvingDistance = m_carvingMgr->d_carvingDistance.getValue(); // check all tetra dist from carving element @@ -179,7 +179,7 @@ void RefineCarvingPerformer::surfaceCarving() { component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr; m_topologyCon->getContext()->get(meca); - helper::WriteAccessor< Data > vertices = meca->write(core::VecCoordId::position()); + helper::WriteAccessor< Data > vertices = meca->write(sofa::core::vec_id::write_access::position); const SReal& carvingDistance = m_carvingMgr->d_carvingDistance.getValue(); // check all point to be considered @@ -222,7 +222,7 @@ void RefineCarvingPerformer::surfaceCarving2() component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr; m_topologyCon->getContext()->get(meca); - helper::WriteAccessor< Data > vertices = meca->write(core::VecCoordId::position()); + helper::WriteAccessor< Data > vertices = meca->write(sofa::core::vec_id::write_access::position); sofa::component::topology::container::dynamic::TetrahedronSetGeometryAlgorithms< sofa::defaulttype::Vec3Types>* tetraGeo = nullptr; m_topologyCon->getContext()->get(tetraGeo);