Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/InfinyToolkit/CarvingTools/RefineCarvingPerformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void RefineCarvingPerformer::simpleCarving()
{
component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr;
m_topologyCon->getContext()->get(meca);
helper::ReadAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->read(core::VecCoordId::position());
helper::ReadAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > 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
Expand Down Expand Up @@ -179,7 +179,7 @@ void RefineCarvingPerformer::surfaceCarving()
{
component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr;
m_topologyCon->getContext()->get(meca);
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(core::VecCoordId::position());
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(sofa::core::vec_id::write_access::position);
const SReal& carvingDistance = m_carvingMgr->d_carvingDistance.getValue();

// check all point to be considered
Expand Down Expand Up @@ -222,7 +222,7 @@ void RefineCarvingPerformer::surfaceCarving2()

component::statecontainer::MechanicalObject< sofa::defaulttype::Vec3Types>* meca = nullptr;
m_topologyCon->getContext()->get(meca);
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > vertices = meca->write(core::VecCoordId::position());
helper::WriteAccessor< Data<sofa::defaulttype::Vec3Types::VecCoord> > 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);
Expand Down
Loading