From: Braden M. <br...@us...> - 2006-12-05 21:15:49
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5598 Modified Files: Tag: OpenVRML-0_16-BRANCH ChangeLog Log Message: Fixed relative URI resolution on Windows. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1310.2.68 retrieving revision 1.1310.2.69 diff -C2 -d -r1.1310.2.68 -r1.1310.2.69 *** ChangeLog 4 Dec 2006 05:17:56 -0000 1.1310.2.68 --- ChangeLog 5 Dec 2006 21:15:07 -0000 1.1310.2.69 *************** *** 1,2 **** --- 1,15 ---- + 2006-12-05 Braden McDaniel <br...@en...> + + Fixed relative URI resolution on Windows. + + * examples/sdl_viewer.cpp + (browser::do_get_resource(const std::string &): On Windows, start + the system path on the second character of the URI path; the first + character is a leading slash. + * src/libopenvrml/openvrml/browser.cpp + (create_file_url(const uri &)): Ensure the URI path begins with a + slash on Windows--_getcwd gets a path that starts with a drive + letter. + 2006-12-04 Braden McDaniel <br...@en...> |