Fix #33375: OSL geom:trianglevertices gave wrong coordinates for static BVH.
Also some simple OSL optimization, passing thread data pointer directly instead of via thread local storage, and creating ustrings for attribute lookup.
This commit is contained in:
@@ -73,8 +73,6 @@ protected:
|
||||
OSLRenderServices *services;
|
||||
OSL::ErrorHandler errhandler;
|
||||
set<string> loaded_shaders;
|
||||
|
||||
bool thread_data_initialized;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user