Sorry, Colin. You probably aren't expecting an answer at this point, but to 
assuage my guilt for having left this in my inbox for so long, I'll say that 
either a colon or a semicolon may be used as a path separator, and on Windows 
it is careful to look for a single character followed by a colon and assume 
that in that one case, it is a drive designation, not a path separator. In 
other words:

    first/path:second/path:c:/third/path

works as you would hope.


> On Oct 28, 2019, at 10:44 AM, Colin Doncaster <[email protected]> wrote:
> 
> It’s setting the searchpath attribute on a texture system
> 
>         m_textureSystem->attribute("searchpath", OIIO::TypeDesc::STRING,  
> &finalPath);
> 
> Which I assume passes this to the underlying image cache. 
> 
> Thank you
> 
>> On Oct 28, 2019, at 1:37 PM, Larry Gritz <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> For texture? Or something else? Which searchpath attribute or variable are 
>> you wondering about?
>> 
>>      -- lg
>> 
>> 
>>> On Oct 28, 2019, at 10:29 AM, Colin Doncaster <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Sorry, image search paths. 
>>> 
>>>> On Oct 28, 2019, at 1:26 PM, Larry Gritz <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> Which kind of search paths?
>>>> 
>>>> 
>>>>> On Oct 26, 2019, at 7:57 AM, Colin Doncaster <[email protected] 
>>>>> <mailto:[email protected]>> wrote:
>>>>> 
>>>>> Hi there -
>>>>> 
>>>>> What is the expected behaviour for image search paths on Windows?  If 
>>>>> someone specifies C:\my\image\path\ will the colon be seen as a 
>>>>> separator?  
>>>>> 
>>>>> Colin
>>>>> 
>>>>> BTW - I tried to search the archives but the listserv wasn’t showing any 
>>>>> of the results, I assume this has likely been discussed in the past. 
>>>>> _______________________________________________
>>>>> Oiio-dev mailing list
>>>>> [email protected] <mailto:[email protected]>
>>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>>>>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>>>> 
>>>> --
>>>> Larry Gritz
>>>> [email protected] <mailto:[email protected]>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Oiio-dev mailing list
>>>> [email protected] <mailto:[email protected]>
>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>>>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>>> 
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected] <mailto:[email protected]>
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>> 
>> --
>> Larry Gritz
>> [email protected] <mailto:[email protected]>
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected] <mailto:[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

Reply via email to