Blender Git Commit Log

Git Commits -> Revision ef45399

Revision ef45399 by Johnny Matthews (master)
September 24, 2021, 15:13 (GMT)
Nodes: initial support for socket tooltips

This adds initial limited support for socket tooltips. It's limited
in a couple of ways for now:
* Only works when hovering over the socket shape, not when hovering
over the value in the socket.
* Only works for built-in nodes that already use the new node
declaration system. This can later be extended to support pynodes.

Those limitations are well worth it for now, given that the
implementation is quite simple and the impact on usability is quite
large. More complex updates to the layout system, that would allow
showing socket tooltips in the nodes, can be done later. With the
current implementation we can at least start writing tooltips for
geometry nodes now.

This commit already adds tooltips for the Cylinder node as an example.

Differential Revision:

Commit Details:

Full Hash: ef45399f3be0955ba8a8c678a5f5ed18ed8c7759
Parent Commit: 4a2c63f
Committed By: Jacques Lucke
Lines Changed: +56, -7

3 Modified Paths:

/source/blender/editors/space_node/ (+30, -4) (Diff)
/source/blender/nodes/geometry/nodes/ (+15, -3) (Diff)
/source/blender/nodes/NOD_node_declaration.hh (+11, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021