Refactor categories.py #5

Open
opened 2024-05-04 16:07:24 +02:00 by so-rose · 0 comments

It has big code smells, including:

  • The cursed relationship between ct.NodeCategory.get_tree() and categories.mk_node_categories.
  • The "syllable prefix" having to mean anything at all.
  • Manually appended menu to bpy.types.NODE_MT_add. Absolutely no flexibility.

Considering how horrible this all is, it's kind of amazing it works so well. As such, this is not a priority, but it should most certainly be done.

It has big code smells, including: - The cursed relationship between `ct.NodeCategory.get_tree()` and `categories.mk_node_categories`. - The "syllable prefix" having to mean anything at all. - Manually appended menu to `bpy.types.NODE_MT_add`. Absolutely no flexibility. Considering how horrible this all is, it's kind of amazing it works so well. As such, this is not a priority, but it should most certainly be done.
so-rose added the
architecture
label 2024-05-04 16:12:48 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: so-rose/oscillode#5
There is no content yet.