Error with SofaPython3 scene : VisualLoop expected at the root node #5174
Answered
by
hugtalbot
hugtalbot
asked this question in
Write / Run a simulation
-
With the upcoming v24.12 release of SOFA, you might face the following error while running a SOFA python script : [ERROR] [Simulation] Simulation::initTextures() : VisualLoop expected at the root node |
Beta Was this translation helpful? Give feedback.
Answered by
hugtalbot
Dec 19, 2024
Replies: 1 comment
-
This is due to the fact that your script might initialize the root node with the function Sofa.Simulation.initRoot(root) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hugtalbot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is due to the fact that your script might initialize the root node with the function
Sofa.Simulation.init(root)
. The initialization should now be done using the function initRoot() as follows: