Skip to content

Conversation

@fredroy
Copy link
Contributor

@fredroy fredroy commented Mar 21, 2021

Change coming from #1928
The test was comparing root as BaseNode against root as a Node.
It is indeed false in Python3, but in c++ both are the same anyway.
Thats why I am casting it into a Node.

But I am not entirely convinced of this fix and I am wondering if ScriptEvent is at its right place in SofaCore.
Maybe should be moved in SofaSimulationCore if the fact to manipulate Node instead of BaseNode is important.

@jnbrunet jnbrunet merged commit 62c28f9 into sofa-framework:master Apr 7, 2021
@guparan guparan added this to the v21.06 milestone Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants