Skip to content

Commit 7759c7b

Browse files
committed
ShaderAlgo : Support for usd 20
IsContainer() was added by usd 21, but we still need to support usd 20 at ImageEngine
1 parent 95e2995 commit 7759c7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/IECoreUSD/src/IECoreUSD/ShaderAlgo.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
#include "boost/algorithm/string/replace.hpp"
4545
#include "boost/pointer_cast.hpp"
4646

47+
#if PXR_VERSION < 2102
48+
#define IsContainer IsNodeGraph
49+
#endif
50+
4751
namespace
4852
{
4953

0 commit comments

Comments
 (0)