OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

Python API is inconsistent and confusing (and in general the API is confusing)

Open pyalot opened this issue 8 years ago • 2 comments

pyalot avatar Mar 17 '17 16:03 pyalot

Again, specifics are helpful.

scoopxyz avatar Mar 17 '17 18:03 scoopxyz

For instance the config object has a getRoleName, but no getRole, instead, it has a setRole. Lots of those kinds of things around. Questions with that are: isn't the name of a role a property of a role? Why can you set a role, but not get one?

pyalot avatar Mar 17 '17 18:03 pyalot