From 73cd8cd60662bbb88da88a7f8a15b3fcf0add1c6 Mon Sep 17 00:00:00 2001 From: Kacey Coley Date: Thu, 16 Sep 2021 15:41:31 -0700 Subject: [PATCH] Add UsdTransform2d as a shader id option --- pxr/usd/usdUtils/complianceChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxr/usd/usdUtils/complianceChecker.py b/pxr/usd/usdUtils/complianceChecker.py index 87e99711d6..d6474e5f7b 100644 --- a/pxr/usd/usdUtils/complianceChecker.py +++ b/pxr/usd/usdUtils/complianceChecker.py @@ -356,7 +356,7 @@ def CheckPrim(self, prim): shaderId = shader.GetShaderId() if not shaderId or \ - not (shaderId in ['UsdPreviewSurface', 'UsdUVTexture'] or + not (shaderId in ['UsdPreviewSurface', 'UsdUVTexture', 'UsdTransform2d'] or shaderId.startswith('UsdPrimvarReader')) : self._AddFailedCheck("Shader <%s> has unsupported info:id '%s'." % (prim.GetPath(), shaderId))