May as well remove it: https://github.com/OpenImageIO/oiio/pull/1437
> On Jun 17, 2016, at 12:22 AM, Michel Lerenard <[email protected]> wrote: > > Hi, > > That's what I thought. Thanks for clearing things up. :) > > On 06/16/2016 10:37 PM, Larry Gritz wrote: >> You are correct, clear() doesn't appear to do anything. I suspect that it >> was put in very early in the design of this class, and then as the concepts >> were clarified, it wasn't needed but was never removed. To be honest, I >> didn't even remember that it existed. >> >> If you're just trying to clear the cache, I think that what you want is >> invalidate_all(). >> >> >> >>> On Jun 16, 2016, at 1:16 AM, Michel Lerenard <[email protected]> wrote: >>> >>> Hi, >>> >>> I've noticed while trying to clear the cache use for texture evaluation >>> that the function "clear" in TextureSystemImpl is empty. >>> >>> Is there a reason to that ? >> -- >> Larry Gritz >> [email protected] >> >> >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
