Cleanup: Nodes: Remove unnecessary socket tooltip check
commit3357658c139d52753c9a552a4ed2215cebf9526f
authorIliya Katueshenock <modormoder@gmail.com>
Wed, 10 Apr 2024 22:21:34 +0000 (11 00:21 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Wed, 10 Apr 2024 22:21:34 +0000 (11 00:21 +0200)
treed2f23a0dac4e67b2151637d772666ccbd8b0610d
parent563bb7e1da91bb2d13e7f32f69ce5cd8406d026f
Cleanup: Nodes: Remove unnecessary socket tooltip check

There is no context in which socket can't have data to display in tooltip.
The most basic info is the name of the socket. Such tooltip can be even
for output Shader socket. If is there, socket tooltip can be built from
data of socket declaration. Description, constraints and so. Such as supported
components. At point socket was used in evaluation on CPU, there is value
to display. Any trivial types or statistic about them value. Fields can
have dependencies, which is also can be known from evaluated value.

Pull Request: https://projects.blender.org/blender/blender/pulls/120492
source/blender/editors/space_node/node_draw.cc