Skip to content

Commit

Permalink
mc: patch geompropvalue nodes instead of relying on default values
Browse files Browse the repository at this point in the history
This behaviour was recently changed, but it causes the primvar
detection heuristics (e.g. texcoord names) to be ignored. It will
be restored once gatling properly supports arbitrary primvar reading.
  • Loading branch information
pablode committed Aug 4, 2024
1 parent e83c35a commit e13430d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/mc/impl/MtlxDocumentPatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,7 @@ namespace gtl
}
#endif

// MaterialX PR #1417 introduced geompropvalue support in 1.38.9+ although it's not advertised in the changelog.
#if (MATERIALX_MAJOR_VERSION == 1 && MATERIALX_MINOR_VERSION == 38 && MATERIALX_BUILD_VERSION < 9)
_PatchGeomprops(document);
#endif

_PatchNodeNames(document);

Expand Down

0 comments on commit e13430d

Please sign in to comment.