Skip to content

[FIX] The callpoint api is broken since SofaPython3. #271

Merged
damienmarchal merged 6 commits intosofa-framework:masterfrom
CRIStAL-PADR:pr-fix-callpoint-api
Jun 23, 2022
Merged

[FIX] The callpoint api is broken since SofaPython3. #271
damienmarchal merged 6 commits intosofa-framework:masterfrom
CRIStAL-PADR:pr-fix-callpoint-api

Conversation

@damienmarchal
Copy link
Copy Markdown
Contributor

@damienmarchal damienmarchal commented Jun 14, 2022

In runSofa,

it is possible to get where the object has been instanciated in the scene from the scenegraph. This was working in both python2 and xml.

This was broken with SofaPython3 so the "Go Scene" popup menu entry is always grayed out.
The PR restore the behavior.

NB: for complex python scene it would be better to have the full creation stack instead of just the last line... but this may be an interesting UX improvement but outside of the scope of this PR.

@alxbilger
Copy link
Copy Markdown
Contributor

@damienmarchal Could you solve the conflicts?

@damienmarchal
Copy link
Copy Markdown
Contributor Author

Conflict solved.

@damienmarchal damienmarchal merged commit cb97cab into sofa-framework:master Jun 23, 2022
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.

3 participants