Skip to content

Commit

Permalink
Fix ColorManagement in usdview
Browse files Browse the repository at this point in the history
See PixarAnimationStudios#1491

(Internal change: 2197794)
  • Loading branch information
tallytalwar authored and lkerley committed Jan 7, 2022
1 parent 7b85a31 commit fcfc738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pxr/usdImaging/usdviewq/appController.py
Original file line number Diff line number Diff line change
Expand Up @@ -1672,11 +1672,11 @@ def _configureColorManagement(self):

try:
import PyOpenColorIO as OCIO
except ImportError:
except ImportError as e:
PrintWarning(
"Could not import PyOpenColorIO. OCIO may be configured via the"
"interpreter and will fallback to the default display, view "
"and color space.")
"and color space.", e)
# NOTE: This only disallows population of the OCIO menu in usdview.
# The OCIO plugin may be enabled, so we don't disable OCIO here.
return
Expand Down

0 comments on commit fcfc738

Please sign in to comment.