mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
hound fixes
This commit is contained in:
parent
f94f636ff2
commit
fb7a616f9e
5 changed files with 11 additions and 7 deletions
|
|
@ -51,16 +51,17 @@ __all__ = [
|
|||
"install",
|
||||
"uninstall",
|
||||
|
||||
"Creator",
|
||||
"Loader",
|
||||
|
||||
"ls",
|
||||
"containerise",
|
||||
|
||||
"lock",
|
||||
"unlock",
|
||||
"is_locked",
|
||||
"lock_ignored",
|
||||
|
||||
"Creator",
|
||||
"Loader",
|
||||
|
||||
# Workfiles API
|
||||
"open_file",
|
||||
"save_file",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ def edit_shader_definitions():
|
|||
window.show()
|
||||
|
||||
|
||||
|
||||
def reset_frame_range():
|
||||
"""Set frame range to current asset"""
|
||||
# Set FPS first
|
||||
|
|
|
|||
|
|
@ -639,7 +639,7 @@ def serialise_shaders(nodes):
|
|||
continue
|
||||
|
||||
meshes_by_shader = dict()
|
||||
for id_, mesh in meshes_by_id.items():
|
||||
for mesh in meshes_by_id.values():
|
||||
shape = cmds.listRelatives(mesh,
|
||||
shapes=True,
|
||||
fullPath=True) or list()
|
||||
|
|
|
|||
|
|
@ -77,7 +77,9 @@ def install():
|
|||
|
||||
cmds.menuItem(
|
||||
"Publish...",
|
||||
command=lambda *args: host_tools.show_publish(parent=parent_widget),
|
||||
command=lambda *args: host_tools.show_publish(
|
||||
parent=parent_widget
|
||||
),
|
||||
image=publish.ICON
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -180,7 +180,9 @@ def uninstall():
|
|||
|
||||
avalon.api.deregister_plugin_path(avalon.api.Loader, LOAD_PATH)
|
||||
avalon.api.deregister_plugin_path(avalon.api.Creator, CREATE_PATH)
|
||||
avalon.api.deregister_plugin_path(avalon.api.InventoryAction, INVENTORY_PATH)
|
||||
avalon.api.deregister_plugin_path(
|
||||
avalon.api.InventoryAction, INVENTORY_PATH
|
||||
)
|
||||
|
||||
menu.uninstall()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue