Psyop / CryptomatteArnold

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

Remove deprecated API calls relying on the default universe #4

Closed sebastienblor closed 3 years ago

sebastienblor commented 3 years ago

As explained in #3 , the following functions need an additional AtUniverse argument :

This PR ensures that the proper universe is called everywhere is needed, and thus removes the deprecated API calls. This requires to pass this universe from function to function all along, but it's needed in order to be correct. I've verified that this compiles, but haven't managed to run the tests. In theory, all the tests should are relying on a default (null) universe, which shouldn't make any difference after these changes.