gr4ph0s / C4D_RedshiftWrapper_API

A c4d wrapper around Redshift API
MIT License
35 stars 7 forks source link

SystemError:GetRSMaterialNodeMaster() method: bad call flags #5

Closed Thodos1 closed 3 years ago

Thodos1 commented 3 years ago

Trying my code and your example. Getting:

Traceback (most recent call last):
  File "C:\Program Files\Maxon Cinema 4D R23\plugins\Test.pyp", line 614, in Command
self.main()
  File "C:\Program Files\Maxon Cinema 4D R23\plugins\Test.pyp", line 114, in main
rs.SetMat(mat)
  File "C:\Users\tanks\AppData\Roaming\Maxon\Maxon Cinema 4D R23_DBA5903C\python37\libs\RedshiftWrapper\Redshift.py", line 59, in SetMat
self._gvMaster = redshift.GetRSMaterialNodeMaster(mat)
SystemError:GetRSMaterialNodeMaster() method: bad call flags
gr4ph0s commented 3 years ago

Update redshift, this is a RS bug that should be resolved now :)

Thodos1 commented 3 years ago

Thanks! Works like a charm!