On Thu, Apr 5, 2012 at 9:41 AM, Larry Gritz <reply+i-3822842-2b3cb59006a5c777a3ebef8d56ec8bd4f8b6f72d-601...@reply.github.com> wrote: > One last question, while I'm on the topic: Does anybody still think that > explicitly passing plugin searchpaths create() is still a good idea? Or now > that we have OpenImageIO::attribute(), should we just have a global plugin > searchpath attribute and un-clutter the open() call?
IMHO using OpenImageIO::attribute() is a worthwhile tradeoff given the win in simplicity. There's a slight loss of generality with the global setting: different threads can't set different plugin search paths without using a global mutex around calls to open(). I'm not worried about that, but perhaps someone else is? ~Chris _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
