Pixie1.2.6(Win32)/sdrGet()/searchpath separation bug
Status: Beta
Brought to you by:
render_man
On the Win32 platform sdr/sdr.cpp/sdrGet() fails to
correctly parse the shader search path into elements
because it uses a hardcoded element separator (':'),
which is on Win32 part of the elements themselves
(c:/dir1/dir2).
sdrGet() should simply use a OS_SPE_SEPARATOR
(SPE for SearchPathElement, to be added to
common/os.cpp) set to ':' on UNIX and to ';' on Win32
instead of the hardcoded ':'.
Logged In: YES
user_id=555300
Hi Randolf,
This decision is made to be more compatible with PrMan.
Notice that it uses : as the dir separator too. In order to pass
c:\dir1 , you should use /c//dir1 which is the convention used
in PrMan.
PS: I know this is a terrible solution. I don't know why
they chose this.
PS2: Sorry about the late response. I just realised that my
forum monitor did not work on the bugs section.
Okan