Skip to content

Commit

Permalink
hioOiio: use ParamValue type instead of deprecated ImageIOParameter
Browse files Browse the repository at this point in the history
ImageIOParameter has been a simple alias for ParamValue since at
least OpenImageIO 2.0.
  • Loading branch information
mattyjams committed Nov 11, 2024
1 parent e45ffe6 commit 29d955f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/imaging/plugin/hioOiio/oiioImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ _FindAttribute(ImageSpec const & spec, std::string const & metadataKey)
bool convertMatrixTypes = false;
std::string key = _TranslateMetadataKey(metadataKey, &convertMatrixTypes);

ImageIOParameter const * param = spec.find_attribute(key);
ParamValue const * param = spec.find_attribute(key);
if (!param) {
return VtValue();
}
Expand Down

0 comments on commit 29d955f

Please sign in to comment.