refactor: Split assets to node-tree/general variants
parent
0d5c9b78f7
commit
b921c3b5cd
|
@ -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,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue