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

Commit

Permalink
Merge branch 'develop' into enhancement/AY-978_hiero-colorspace-setti…
Browse files Browse the repository at this point in the history
…ngs-aligned-with-nuke
  • Loading branch information
tokejepsen committed Mar 25, 2024
2 parents 90c0122 + 6740d29 commit f685ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpype/pype_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ def publish(paths, targets=None, gui=False):
install_openpype_plugins,
get_global_context,
)
from openpype.tools.utils.host_tools import show_publish
from openpype.tools.utils.lib import qt_app_context

# Register target and host
import pyblish.api
Expand Down Expand Up @@ -150,6 +148,8 @@ def publish(paths, targets=None, gui=False):
print(plugin)

if gui:
from openpype.tools.utils.host_tools import show_publish
from openpype.tools.utils.lib import qt_app_context
with qt_app_context():
show_publish()
else:
Expand Down

0 comments on commit f685ed6

Please sign in to comment.