Refactor categories.py #5

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

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
No description provided.