diff --git a/client/ayon_core/hosts/zbrush/api/communication_server.py b/client/ayon_core/hosts/zbrush/api/communication_server.py index bb2cee13bb..c5d7103a73 100644 --- a/client/ayon_core/hosts/zbrush/api/communication_server.py +++ b/client/ayon_core/hosts/zbrush/api/communication_server.py @@ -740,7 +740,7 @@ class QtCommunicator(BaseCommunicator): def _exit(self, *args, **kwargs): super()._exit(*args, **kwargs) emit_event("application.exit") - # remove zsc script of env variable + # # remove zsc script of env variable startup_zsc = os.path.join( ZBRUSH_HOST_DIR, "startup", "startup.zsc") os.remove(startup_zsc) diff --git a/client/ayon_core/hosts/zbrush/hooks/create_zmenu_script.py b/client/ayon_core/hosts/zbrush/hooks/create_zmenu_script.py index 5544f03566..a4bdee8afe 100644 --- a/client/ayon_core/hosts/zbrush/hooks/create_zmenu_script.py +++ b/client/ayon_core/hosts/zbrush/hooks/create_zmenu_script.py @@ -29,12 +29,12 @@ class CreateZMenuScript(PreLaunchHook): def ayon_menu(self): python_exe = os.environ["AYON_EXECUTABLE"] ayon_script = (""" -[ISubPalette,"Zplugin:AYON"] +[IPalette,"AYON", 1] [VarSet, addon, "addon"] [VarSet, zbrush, "zbrush"] [VarSet, zscript, "run-with-zscript"] [VarSet, arg, "--launcher"] -[IButton,"Zplugin:AYON:Load","Loader", +[IButton,"AYON:Load","Loader", [VarSet, loader, "loader_tool"] [VarSet, q, [StrFromAsc, 34]] [VarSet, cmd, [StrMerge, start, " ",#q, #q, " ",#q, "{py}", #q]] @@ -45,7 +45,7 @@ class CreateZMenuScript(PreLaunchHook): [VarSet, cmd, [StrMerge, cmd, #q, " ", #loader, #q]] [ShellExecute, cmd], 0, 120 ]//end button -[IButton,"Zplugin:AYON:Publish","Publish Tab for Publisher", +[IButton,"AYON:Publish","Publish Tab for Publisher", [VarSet, publisher, "publish_tool"] [VarSet, q, [StrFromAsc, 34]] [VarSet, cmd, [StrMerge, start, " ",#q, #q, " ",#q, "{py}", #q]] @@ -56,7 +56,7 @@ class CreateZMenuScript(PreLaunchHook): [VarSet, cmd, [StrMerge, cmd, #q, " ", #publisher, #q]] [ShellExecute, cmd], 0, 120 ]//end button -[IButton,"Zplugin:AYON:Manage","Scene Inventory Manager", +[IButton,"AYON:Manage","Scene Inventory Manager", [VarSet, sceneinventory, "scene_inventory_tool"] [VarSet, q, [StrFromAsc, 34]] [VarSet, cmd, [StrMerge, start, " ",#q, #q, " ",#q, "{py}", #q]] @@ -67,7 +67,7 @@ class CreateZMenuScript(PreLaunchHook): [VarSet, cmd, [StrMerge, cmd, #q, " ", #sceneinventory, #q]] [ShellExecute, cmd], 0, 120 ]//end button -[IButton,"Zplugin:AYON:Workfile","Workfile", +[IButton,"AYON:Workfile","Workfile", [VarSet, workfiles, "workfiles_tool"] [VarSet, q, [StrFromAsc, 34]] [VarSet, cmd, [StrMerge, start, " ",#q, #q, " ",#q, "{py}", #q]] diff --git a/client/ayon_core/plugins/publish/collect_scene_version.py b/client/ayon_core/plugins/publish/collect_scene_version.py index b04900c74e..34b4e499a7 100644 --- a/client/ayon_core/plugins/publish/collect_scene_version.py +++ b/client/ayon_core/plugins/publish/collect_scene_version.py @@ -27,7 +27,8 @@ class CollectSceneVersion(pyblish.api.ContextPlugin): "nuke", "photoshop", "resolve", - "tvpaint" + "tvpaint", + "zbrush" ] # in some cases of headless publishing (for example webpublisher using PS)