Fix #32972: cycles crash changing to GPU render with OSL enabled.
This commit is contained in:
@@ -284,6 +284,8 @@ static PyObject *osl_update_node_func(PyObject *self, PyObject *args)
|
||||
if(param->validdefault)
|
||||
default_string = param->sdefault[0];
|
||||
}
|
||||
else
|
||||
continue;
|
||||
}
|
||||
else
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user