ynput / ayon-cinema4d

AYON Cinema4D integration
Apache License 2.0
3 stars 0 forks source link

Fix support for Cinema4D 2024+ #16

Closed BigRoy closed 2 weeks ago

BigRoy commented 2 weeks ago

Changelog Description

Fix support for Cinema4D 2024+

Additional info

Fixes error reported here:

Traceback (most recent call last):
  File "C:\Users\Remco\AppData\Local\Ynput\AYON\addons\cinema4d_0.1.1\ayon_cinema4d\startup\ayon_cinema4d.pyp", line 240, in PluginMessage
install_menu()
  File "C:\Users\Remco\AppData\Local\Ynput\AYON\addons\cinema4d_0.1.1\ayon_cinema4d\startup\ayon_cinema4d.pyp", line 218, in install_menu
menu.InsData(c4d.MENURESOURCE_SEPERATOR, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError:module 'c4d' has no attribute 'MENURESOURCE_SEPERATOR'

Maxon renamed the constant c4d.MENURESOURCE_SEPERATOR to c4d.MENURESOURCE_SEPARATOR See: http://developers.maxon.net/forum//post/72528

Testing notes:

  1. Run Cinema4D 2024 or 2025
BigRoy commented 2 weeks ago

Confirmed working on Discord by community user with 2024.