Psyop / CryptomatteArnold

Cryptomatte for Arnold
BSD 3-Clause "New" or "Revised" License
54 stars 19 forks source link

Remove deprecated AtCritSec and replace with AtMutex. #9

Closed ThiagoIze closed 1 year ago

ThiagoIze commented 1 year ago

AtCritSec was deprecated and replaced with AtMutex in Arnold 6.0.4 (release notes: https://help.autodesk.com/view/ARNOL/ENU/?guid=arnold_user_guide_ac_release_notes_ac_rn_6040_html). This is essentially a std::mutex and is easier to use since it has a constructor and destructor so there's no need to init/close.