-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[openimageio] Update to 2.4.11.1 (#31489)
* [openimageio] Update to 2.4.11.1. * [openimageio] Add upstream patch to fix MSVC build * [openimageio] Update baseline.
- Loading branch information
1 parent
df788a2
commit 278f429
Showing
5 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/python/py_oiio.cpp b/src/python/py_oiio.cpp | ||
index 6031d2c23..e71105da5 100644 | ||
--- a/src/python/py_oiio.cpp | ||
+++ b/src/python/py_oiio.cpp | ||
@@ -153,7 +153,7 @@ oiio_bufinfo::oiio_bufinfo(const py::buffer_info& pybuf, int nchans, int width, | ||
format = TypeUnknown; // No idea what's going on -- error | ||
error = Strutil::fmt::format( | ||
"Python array shape is [{:,}] but expecting h={}, w={}, ch={}", | ||
- cspan<ssize_t>(pybuf.shape), height, width, nchans); | ||
+ cspan<py::ssize_t>(pybuf.shape), height, width, nchans); | ||
} | ||
} else if (pixeldims == 1) { | ||
// Reading a 1D scanline span |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters