Merge branch 'enhancement/workfile_template_resolve_path' of https://github.com/BigRoy/ayon-core into enhancement/workfile_template_resolve_path

This commit is contained in:
Roy Nieterau 2024-09-09 16:22:58 +02:00
commit dac3dfb5e7

View file

@ -130,7 +130,7 @@ def main(title="Scripts", parent=None, objectName=None):
# Register control + shift callback to add to shelf (maya behavior)
modifiers = QtCore.Qt.ControlModifier | QtCore.Qt.ShiftModifier
if int(cmds.about(version=True)) <= 2025:
if int(cmds.about(version=True)) < 2025:
modifiers = int(modifiers)
menu.register_callback(modifiers, to_shelf)