Skip to content

Commit

Permalink
replace check for OPENPYPE_DEVELOP
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Feb 7, 2024
1 parent 3d06a75 commit 3bb8b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ayon_core/hosts/hiero/api/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from qtpy import QtGui

from ayon_core.lib import Logger
from ayon_core.lib import Logger, is_dev_mode_enabled
from ayon_core.tools.utils import host_tools
from ayon_core.settings import get_project_settings
from ayon_core.pipeline import (
Expand Down Expand Up @@ -125,7 +125,7 @@ def menu_install():
lambda: host_tools.show_library_loader(parent=main_window)
)

if os.getenv("OPENPYPE_DEVELOP"):
if is_dev_mode_enabled():
menu.addSeparator()
reload_action = menu.addAction("Reload pipeline")
reload_action.setIcon(QtGui.QIcon("icons:ColorAdd.png"))
Expand Down

0 comments on commit 3bb8b97

Please sign in to comment.