mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
set custom family state data at install
This commit is contained in:
parent
bac4b7b2a9
commit
553e78763a
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ LOAD_PATH = os.path.join(PLUGINS_DIR, "fusion", "load")
|
|||
CREATE_PATH = os.path.join(PLUGINS_DIR, "fusion", "create")
|
||||
INVENTORY_PATH = os.path.join(PLUGINS_DIR, "fusion", "inventory")
|
||||
|
||||
FAMILY_STATES = {"colorbleed.imagesequenbce": True}
|
||||
|
||||
|
||||
def install():
|
||||
print("Registering Fusion plug-ins..")
|
||||
|
|
@ -23,6 +25,8 @@ def install():
|
|||
|
||||
pyblish.register_callback("instanceToggled", on_pyblish_instance_toggled)
|
||||
|
||||
avalon.set_data("family_states", FAMILY_STATES)
|
||||
|
||||
|
||||
def uninstall():
|
||||
print("Deregistering Fusion plug-ins..")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue