ynput / ayon-core

Apache License 2.0
18 stars 30 forks source link

Maya: Fix the scriptmenu error found during launch maya 2025 #669

Closed moonyuet closed 2 weeks ago

moonyuet commented 2 weeks ago

Changelog Description

This PR is to fix the bug found during the launch of Maya 2025.

 Error: TypeError: file C:\Users\murph\AppData\Local\Ynput\AYON\addons\core_0.4.0\ayon_core\vendor\python\scriptsmenu\launchformaya.py line 133: int() argument must be a string, a bytes-like object or a real number, not 'KeyboardModifier'

Additional info

n/a

Testing notes:

  1. Launch Maya with different versions
  2. Check Script Editor
  3. the scriptmenu related error should be gone