mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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"
This commit is contained in:
parent
dfbbac9b94
commit
5da48f425f
1 changed files with 0 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue