From: Braden M. <br...@us...> - 2006-12-05 21:16:26
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6415 Modified Files: ChangeLog Log Message: Fixed relative URI resolution on Windows. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1391 retrieving revision 1.1392 diff -C2 -d -r1.1391 -r1.1392 *** ChangeLog 4 Dec 2006 05:18:07 -0000 1.1391 --- ChangeLog 5 Dec 2006 21:16:20 -0000 1.1392 *************** *** 1,2 **** --- 1,15 ---- + 2006-12-05 Braden McDaniel <br...@en...> + + Fixed relative URI resolution on Windows. + + * examples/sdl_viewer.cpp + (resource_fetcher::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...> |