Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

TrayPublisher: Removed from experimental tools #3667

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openpype/hosts/standalonepublisher/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


class StandAlonePublishAddon(OpenPypeModule, ITrayAction, IHostAddon):
label = "Publish"
label = "Publisher (legacy)"
name = "standalonepublisher"
host_name = "standalonepublisher"

Expand Down
15 changes: 2 additions & 13 deletions openpype/hosts/traypublisher/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


class TrayPublishAddon(OpenPypeModule, IHostAddon, ITrayAction):
label = "New Publish (beta)"
label = "Publisher"
name = "traypublisher"
host_name = "traypublisher"

Expand All @@ -19,20 +19,9 @@ def initialize(self, modules_settings):
self.publish_paths = [
os.path.join(TRAYPUBLISH_ROOT_DIR, "plugins", "publish")
]
self._experimental_tools = None

def tray_init(self):
from openpype.tools.experimental_tools import ExperimentalTools

self._experimental_tools = ExperimentalTools()

def tray_menu(self, *args, **kwargs):
super(TrayPublishAddon, self).tray_menu(*args, **kwargs)
traypublisher = self._experimental_tools.get("traypublisher")
visible = False
if traypublisher and traypublisher.enabled:
visible = True
self._action_item.setVisible(visible)
return

def on_action_trigger(self):
self.run_traypublisher()
Expand Down
2 changes: 1 addition & 1 deletion openpype/settings/defaults/system_settings/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"enabled": true
},
"standalonepublish_tool": {
"enabled": true
"enabled": false
},
"project_manager": {
"enabled": true
Expand Down
5 changes: 0 additions & 5 deletions openpype/tools/experimental_tools/tools_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ def __init__(self, parent_widget=None, refresh=True):
hosts_filter=["blender", "maya", "nuke", "celaction", "flame",
"fusion", "harmony", "hiero", "resolve",
"tvpaint", "unreal"]
),
ExperimentalTool(
"traypublisher",
"New Standalone Publisher",
"Standalone publisher using new publisher. Requires restart"
)
]

Expand Down