diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-22 16:52:15 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-06-22 16:52:15 +0400 |
commit | 5da48f425fcfeb7b3eae67df4ac0d29e698809f6 (patch) | |
tree | e5bc5251ece5a6405ad9ff806361113af5a0493e /intern | |
parent | dfbbac9b94bf01b56b47f6b18c634f1b5121328f (diff) |
Cycles OSL: don't set optimize=2 option in OSL shading system, this is already
the default, and by not setting it the user can override it with an environmnet
variable, for example:
export OSL_OPTIONS="optimize=0"
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/osl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/render/osl.cpp b/intern/cycles/render/osl.cpp index 52e4c697ba8..56bb9582172 100644 --- a/intern/cycles/render/osl.cpp +++ b/intern/cycles/render/osl.cpp @@ -186,9 +186,6 @@ void OSLShaderManager::shading_system_init() ss_shared = OSL::ShadingSystem::create(services_shared, ts_shared, &errhandler); ss_shared->attribute("lockgeom", 1); ss_shared->attribute("commonspace", "world"); - ss_shared->attribute("optimize", 2); - //ss_shared->attribute("debug", 1); - //ss_shared->attribute("statistics:level", 1); ss_shared->attribute("searchpath:shader", path_get("shader")); /* our own ray types */ |