Fix T64515, T60434: crash in OSL and preview render after recent changes
The refactoring of texture handles did not take into account that render services are shared between multiple render session. Now the texture to handle map is also shared between render sessions.
This commit is contained in:
@@ -54,7 +54,7 @@ using namespace OSL;
|
||||
///
|
||||
class GenericEmissiveClosure : public CClosurePrimitive {
|
||||
public:
|
||||
void setup(const KernelGlobals *, ShaderData *sd, int /* path_flag */, float3 weight)
|
||||
void setup(ShaderData *sd, int /* path_flag */, float3 weight)
|
||||
{
|
||||
emission_setup(sd, weight);
|
||||
}
|
||||
|
Reference in New Issue
Block a user