resolve the qt style issue with jakub's comment

This commit is contained in:
Kayla Man 2023-09-05 21:30:59 +08:00
parent c5013305bd
commit c88b7106fd

View file

@ -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