mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
resolve the qt style issue with jakub's comment
This commit is contained in:
parent
c5013305bd
commit
c88b7106fd
1 changed files with 3 additions and 1 deletions
|
|
@ -11,8 +11,10 @@ from openpype.pipeline import get_current_project_name
|
|||
from openpype.settings import get_project_settings
|
||||
from openpype.pipeline.context_tools import (
|
||||
get_current_project, get_current_project_asset)
|
||||
from openpype.style import load_stylesheet
|
||||
from pymxs import runtime as rt
|
||||
|
||||
|
||||
JSON_PREFIX = "JSON::"
|
||||
log = logging.getLogger("openpype.hosts.max")
|
||||
|
||||
|
|
@ -389,10 +391,10 @@ def check_colorspace():
|
|||
dialog.setMessage("This scene has wrong OCIO "
|
||||
"Mode setting.")
|
||||
dialog.setButtonText("Fix")
|
||||
dialog.setStyleSheet(load_stylesheet())
|
||||
dialog.on_clicked.connect(reset_colorspace)
|
||||
dialog.show()
|
||||
|
||||
|
||||
def unique_namespace(namespace, format="%02d",
|
||||
prefix="", suffix="", con_suffix="CON"):
|
||||
"""Return unique namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue