Skip to content

Commit 62f1c57

Browse files
authored
[ci] Update github action for v25.06 (#37)
1 parent b9837a1 commit 62f1c57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-22.04, macos-14, windows-2022]
14-
sofa_branch: [master]
14+
sofa_branch: [v25.06]
1515

1616
steps:
1717
- name: Setup SOFA and environment

src/InfinyToolkit/CarvingTools/RefineCarvingPerformer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void RefineCarvingPerformer::simpleCarving()
150150
{
151151
component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr;
152152
m_topologyCon->getContext()->get(meca);
153-
helper::ReadAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->read(core::VecCoordId::position());
153+
helper::ReadAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->read(sofa::core::vec_id::write_access::position);
154154
const SReal& carvingDistance = m_carvingMgr->d_carvingDistance.getValue();
155155

156156
// check all tetra dist from carving element
@@ -179,7 +179,7 @@ void RefineCarvingPerformer::surfaceCarving()
179179
{
180180
component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr;
181181
m_topologyCon->getContext()->get(meca);
182-
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(core::VecCoordId::position());
182+
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(sofa::core::vec_id::write_access::position);
183183
const SReal& carvingDistance = m_carvingMgr->d_carvingDistance.getValue();
184184

185185
// check all point to be considered
@@ -222,7 +222,7 @@ void RefineCarvingPerformer::surfaceCarving2()
222222

223223
component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr;
224224
m_topologyCon->getContext()->get(meca);
225-
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(core::VecCoordId::position());
225+
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(sofa::core::vec_id::write_access::position);
226226

227227
sofa::component::topology::container::dynamic::TetrahedronSetGeometryAlgorithms< sofa::defaulttype::Vec3Types>* tetraGeo = nullptr;
228228
m_topologyCon->getContext()->get(tetraGeo);

0 commit comments

Comments
 (0)