Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Simulation] Add initRoot binding #472

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

fredroy
Copy link
Contributor

@fredroy fredroy commented Dec 11, 2024

Not sure why it was not here before 🤔
as initRoot(root) does different things than init(root)

On my side using directly python with imgui (on macos), this fixes the rendering at startup (as the bbox is not computed initially without initRoot).

Actually, all the scenes which are run using directly python should use initRoot (to be consistent with runSofa)

@bakpaul bakpaul merged commit d8b1683 into sofa-framework:master Dec 18, 2024
4 checks passed
@fredroy fredroy deleted the add_simu_initroot branch December 18, 2024 09:01
hugtalbot pushed a commit that referenced this pull request Jan 16, 2025
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