From Neil Hughes, "here is an update to ReaderWriterCurl that makes use of the amended ReaderWriter definition to pass some plugin string data via the options object."
This commit is contained in:
parent
425cb87487
commit
f5d532e54b
@ -392,6 +392,7 @@ osgDB::ReaderWriter::ReadResult ReaderWriterCURL::readFile(ObjectType objectType
|
||||
new Options;
|
||||
|
||||
local_opt->getDatabasePathList().push_front(osgDB::getFilePath(fileName));
|
||||
local_opt->setPluginStringData("STREAM_FILENAME",osgDB::getSimpleFileName(fileName));
|
||||
|
||||
if (uncompress)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user