refactor: Split assets to node-tree/general variants

uv-refactor
Sofus Albert Høgsbro Rose 2024-10-03 07:29:32 +02:00
parent 0d5c9b78f7
commit b921c3b5cd
Signed by: so-rose
GPG Key ID: AD901CB0F3701434
23 changed files with 10 additions and 6 deletions

View File

@ -18,9 +18,10 @@
from functools import reduce from functools import reduce
# from . import node_trees
from . import assets, operators, preferences, registration
from . import contracts as ct from . import contracts as ct
# from . import node_trees
from . import operators, preferences, registration
from .utils import logger from .utils import logger
log = logger.get(__name__) log = logger.get(__name__)
@ -31,24 +32,21 @@ log = logger.get(__name__)
#################### ####################
BL_REGISTER: list[ct.BLClass] = [ BL_REGISTER: list[ct.BLClass] = [
*operators.BL_REGISTER, *operators.BL_REGISTER,
*assets.BL_REGISTER,
# *node_trees.BL_REGISTER, # *node_trees.BL_REGISTER,
] ]
BL_HANDLERS: ct.BLHandlers = reduce( BL_HANDLERS: ct.BLHandlers = reduce(
lambda a, b: a + b, lambda a, b: a + b,
[ [
assets.BL_HANDLERS,
operators.BL_HANDLERS, operators.BL_HANDLERS,
assets.BL_HANDLERS,
# node_trees.BL_HANDLERS, # node_trees.BL_HANDLERS,
], ],
ct.BLHandlers(), ct.BLHandlers(),
) )
BL_KEYMAP_ITEMS: list[ct.BLKeymapItem] = [ BL_KEYMAP_ITEMS: list[ct.BLKeymapItem] = [
*assets.BL_KEYMAP_ITEMS,
*operators.BL_KEYMAP_ITEMS, *operators.BL_KEYMAP_ITEMS,
# node_trees.BL_KEYMAP_ITEMS,
] ]

BIN
oscillode/assets/converters/tdsphere_to_kp.blend (Stored with Git LFS) 100644

Binary file not shown.

BIN
oscillode/assets/primitives/arrow.blend (Stored with Git LFS) 100644

Binary file not shown.