Skip to content

Commit

Permalink
avoid assigning cryptomatte_filter to cryptomatte aovs (#1697)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5839572)
  • Loading branch information
cpichard authored and sebastienblor committed Sep 26, 2023
1 parent 6ff2c73 commit dbb82ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -24,6 +24,7 @@
- [usd#1675](https://github.com/Autodesk/arnold-usd/issues/1675) - Fix UsdUvTexture default wrap modes and uvset coordinates.
- [usd#1657](https://github.com/Autodesk/arnold-usd/issues/1657) - Fix a motion blur sampling bug happening when a mesh has facevarying indexed normals and different number of indices per key frame.
- [usd#1693](https://github.com/Autodesk/arnold-usd/issues/1693) - Fix geometry light not rendering in recent version.
- [usd#1696](https://github.com/Autodesk/arnold-usd/issues/1696) - Fix cryptomatte render by restoring previous filter assignment to the default filter.

### Build
- [usd#1648](https://github.com/Autodesk/arnold-usd/issues/1648) - Fix schemas generation issue that was intermittently failing
Expand Down
2 changes: 1 addition & 1 deletion libs/render_delegate/render_pass.cpp
Expand Up @@ -297,7 +297,7 @@ AtNode* _CreateFilter(HdArnoldRenderDelegate* renderDelegate, const HdAovSetting
// We need to make sure that it's holding a string, then try to create it to make sure
// it's a node type supported by Arnold.
const auto filterType = _GetOptionalSetting(aovSettings, _tokens->aovSettingFilter, std::string{});
if (filterType.empty()) {
if (filterType.empty() || filterType == "cryptomatte_filter") {
return nullptr;
}
const auto filterNameStr =
Expand Down

0 comments on commit dbb82ce

Please sign in to comment.