blender/tools/debug
Hans Goudey 328fe42df9 Node Tools: Registration cleanup and drawing refactor
Instead of storing a static asset item tree for every possible context,
store a tree of the registered operator types and check which should be
visible when drawing using the actual poll function rather than re-
implementing its logic.

Also rewrite the registration process to make it easier to follow and
add a more obvious early return when there are no changes to the node
tools that must be registered.

By construction this changes drawing behavior for duplicate idnames.
Now, when drawing the tool menus, don't draw multiple tools with the
same operator idname. This resolves #158802.

Overall this goes beyond a minimal fix for that report, but I'm much
happier with the state of the code now.

Pull Request: https://projects.blender.org/blender/blender/pulls/158857
2026-05-25 21:26:01 +02:00
..
gdb Node Tools: Registration cleanup and drawing refactor 2026-05-25 21:26:01 +02:00
lldb Cleanup: resolve "make check_licenses" warnings 2026-02-06 22:45:54 +11:00