Skip to content

Conversation

@bakpaul
Copy link
Contributor

@bakpaul bakpaul commented Oct 10, 2025

Based on #237

This PR enables to inspect node by clicking on its name and avoid this click to open the node. Now, the icon + tick will expand but the name will inspect. This PR also applies this behavior to objects which have slaves (see gif).

The plus is a refactoring of the drawing by introducing methods to draw objects so the drawing method is cleaner now.

PS: The GIF doesn't show it but the icon will also expand the list, not only the tick, so the surface to expand the list is large enough

nodeClick

@bakpaul bakpaul changed the title [ImGui] Enable inspection on node [ImGui] Enable inspection of node Oct 10, 2025
@damienmarchal
Copy link
Contributor

Maybe name it "inspector" as in sofa-framework/Sofa.Qt#21 so we have consistent naming with other tools like Unity.

This was referenced Oct 15, 2025
@fredroy fredroy merged commit f33fe38 into sofa-framework:master Oct 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pr: status ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants