mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
replace check for OPENPYPE_DEVELOP
This commit is contained in:
parent
3d06a753ae
commit
3bb8b97eb7
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ from hiero.ui import findMenuAction
|
|||
|
||||
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 (
|
||||
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue