Two fixes: 1. In imagebuf.h the const iterator was taking non-const ImageBuf so I fixed that.
2. I moved the type checking code in ImageBufAlgo::over at the top of the function, no need to come at the end of the function to realize types are wrong. You can merge this Pull Request by running: git pull https://github.com/StefanStavrev/oiio master Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/399 -- Commit Summary -- * Minor fixes for over -- File Changes -- M src/include/imagebuf.h (2) M src/libOpenImageIO/imagebufalgo.cpp (16) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/399.patch https://github.com/OpenImageIO/oiio/pull/399.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/399 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
