Commit 64cb9cfa authored by Ralf Habacker's avatar Ralf Habacker Committed by Robert Osfield
Browse files

Use new method supportsEnvironment() from class ReaderWriter in client code

parent b0a25ce3
......@@ -388,11 +388,12 @@ ReaderWriterCURL::ReaderWriterCURL()
supportsExtension("curl","Pseudo file extension, used to select curl plugin.");
supportsExtension("*","Passes all read files to other plugins to handle actual model loading.");
supportsOption("OSG_CURL_PROXY","Specify the http proxy.");
supportsOption("OSG_CURL_PROXYPORT","Specify the http proxy port.");
supportsOption("OSG_CURL_CONNECTTIMEOUT","Specify the connection timeout duration in seconds [default = 0 = not set].");
supportsOption("OSG_CURL_TIMEOUT","Specify the timeout duration of the whole transfer in seconds [default = 0 = not set].");
supportsOption("OSG_CURL_SSL_VERIFYPEER","Specify ssl verification peer [default = 1 = set].");
supportsEnvironment("OSG_CURL_PROXY","Specify the http proxy.");
supportsEnvironment("OSG_CURL_PROXYPORT","Specify the http proxy port.");
supportsEnvironment("OSG_CURL_CONNECTTIMEOUT","Specify the connection timeout duration in seconds [default = 0 = not set].");
supportsEnvironment("OSG_CURL_TIMEOUT","Specify the timeout duration of the whole transfer in seconds [default = 0 = not set].");
supportsEnvironment("OSG_CURL_SSL_VERIFYPEER","Specify ssl verification peer [default = 1 = set].");
}
ReaderWriterCURL::~ReaderWriterCURL()
......
......@@ -57,6 +57,7 @@ public:
ReaderWriterTXP()
{
supportsExtension("txp","Terrapage txp format");
supportsEnvironment("OSG_TXP_DEFAULT_MAX_ANISOTROPY", "default value to use when setting up textures");
}
virtual const char* className() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment