From 2a3d35e0ec3946eaa000574e7ed118ef804d5795 Mon Sep 17 00:00:00 2001 From: epernod Date: Mon, 15 Jul 2024 17:30:34 +0200 Subject: [PATCH] [src] Fix error in AdaptiveBeamMapping to map Visual model --- src/BeamAdapter/component/mapping/AdaptiveBeamMapping.inl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BeamAdapter/component/mapping/AdaptiveBeamMapping.inl b/src/BeamAdapter/component/mapping/AdaptiveBeamMapping.inl index b555475b..b0816d9a 100644 --- a/src/BeamAdapter/component/mapping/AdaptiveBeamMapping.inl +++ b/src/BeamAdapter/component/mapping/AdaptiveBeamMapping.inl @@ -102,6 +102,8 @@ void AdaptiveBeamMapping< TIn, TOut>::init() { simulation::MainTaskSchedulerFactory::createInRegistry()->init(); } + + this->d_componentState.setValue(sofa::core::objectmodel::ComponentState::Valid); }