78315faf8fbd4e700933ec2b4cfb49657905c23a
In #112326 the socket visibility functions were updated to take the open/closed state of panels into account for visibility of the socket icon. However, in "hidden" (collapsed) nodes the panels should be ignored entirely, drawing all sockets on the root level. This requires looking at the node flags to determine socket icon visibility, so a simple method of `bNodeSocket` is not sufficient. This patch moves the more complex visibility queries for sockets into `bNode`, where both node and socket flags can be accessed. These should be used for actual visibility rather than the plain flag accessors on `bNodeSocket`. Renamed `is_visible_or_panel_closed` back to just `is_visible`, the other `is_visible` variant is now integrated in `bNode::is_socket_drawn`. Pull Request: https://projects.blender.org/blender/blender/pulls/112520
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
