hound fixes

This commit is contained in:
Jakub Trllo 2022-02-03 19:14:08 +01:00
parent f94f636ff2
commit fb7a616f9e
5 changed files with 11 additions and 7 deletions

View file

@ -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",

View file

@ -55,7 +55,6 @@ def edit_shader_definitions():
window.show()
def reset_frame_range():
"""Set frame range to current asset"""
# Set FPS first

View file

@ -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()

View file

@ -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
)

View file

@ -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()