You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using usdview if a Display space is chosen with the new OCIO Config menu, it fails to switch and a python traceback error appears
Steps to Reproduce
Ensure OCIO environment is set to a config that contains Displays
Open USDView and switch Color Management to OCIO
Choose one of the displays listed up the Displays section.
See following traceback in terminal:
Traceback (most recent call last):
File "/path/to/usd/usdView/23.02/lib/python/pxr/Usdviewq/appController.py", line 1752, in setOcioConfig
if config.hasattr('getDisplayViewColorSpaceName'):
AttributeError: 'PyOpenColorIO.Config' object has no attribute 'hasattr'
hasattr is a python built-in - I would expect the line to be if hasattr(config, "getDisplayViewColorSpaceName"):
Package Versions
23.02
The text was updated successfully, but these errors were encountered:
Description of Issue
When using usdview if a Display space is chosen with the new OCIO Config menu, it fails to switch and a python traceback error appears
Steps to Reproduce
hasattr
is a python built-in - I would expect the line to beif hasattr(config, "getDisplayViewColorSpaceName"):
Package Versions
23.02
The text was updated successfully, but these errors were encountered: