Skip to content

Commit

Permalink
Fix compilation further to lifecycle v25.06 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugtalbot authored Feb 20, 2025
1 parent f971da7 commit 7388506
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PluginExample/MyMappingPendulumInPlane.inl
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ MyMappingPendulumInPlane<In, Out>::~MyMappingPendulumInPlane()
template <class In, class Out>
void MyMappingPendulumInPlane<In, Out>::init()
{
ReadAccessor<Data<VecOutCoord> > out (*this->toModel->read(core::ConstVecCoordId::position()));
WriteAccessor<Data<VecInCoord> > in (*this->fromModel->write(core::VecCoordId::position()));
ReadAccessor<Data<VecOutCoord> > out (*this->toModel->read(core::vec_id::read_access::position));
WriteAccessor<Data<VecInCoord> > in (*this->fromModel->write(core::vec_id::write_access::position));
WriteAccessor<Data<vector<OutReal> > > distances (d_length);
if (distances.size() != out.size()) // values not read from file
{
Expand All @@ -80,7 +80,7 @@ void MyMappingPendulumInPlane<In, Out>::draw(const core::visual::VisualParams* v
{
if (!vparams->displayFlags().getShowMappings()) return;

ReadAccessor<Data<VecOutCoord> > out (*this->toModel->read(core::ConstVecCoordId::position()));
ReadAccessor<Data<VecOutCoord> > out (*this->toModel->read(core::vec_id::read_access::position));
std::vector< Vec3 > points(out.size());

for (unsigned int i=0; i<out.size(); i++)
Expand Down

0 comments on commit 7388506

Please sign in to comment.