Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions third_party/renderman-26/plugin/hdPrman/matfiltMaterialX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,11 @@ _NodeHasTextureCoordPrimvar(
// for texture coordinates.
auto geompropvalueNodes = nodegraph->getNodes(_tokens->geompropvalue);
for (const mx::NodePtr& mxGeomPropNode : geompropvalueNodes) {
#if MATERIALX_MAJOR_VERSION == 1 && MATERIALX_MINOR_VERSION <= 38
if (mxGeomPropNode->getType() == mx::Type::VECTOR2->getName()) {
#else
if (mxGeomPropNode->getType() == mx::Type::VECTOR2.getName()) {
#endif
return true;
}
}
Expand Down