Skip to content

Commit

Permalink
Update InterventionalRadiologyController.inl
Browse files Browse the repository at this point in the history
  • Loading branch information
epernod authored Oct 27, 2022
1 parent 5e8d0a3 commit 117c68b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void InterventionalRadiologyController<DataTypes>::init()
const type::vector<std::string>& instrumentPathList = d_instrumentsPath.getValue();
if (instrumentPathList.empty())
{
getContext()->template get<WBeamInterpolation>(&m_instrumentsList, sofa::core::objectmodel::BaseContext::SearchRoot);
getContext()->template get<WBeamInterpolation>(&m_instrumentsList, sofa::core::objectmodel::BaseContext::Local);
}
else
{
Expand Down

0 comments on commit 117c68b

Please sign in to comment.