Cycles:
* Revert r57203 (len() renaming) There seems to be a problem with nVidia OpenCL after this and I haven't figured out the real cause yet. Better to selectively enable native length() later, after figuring out what's wrong. This fixes [#35612].
This commit is contained in:
@@ -74,7 +74,7 @@ int DiagSplit::T(Patch *patch, float2 Pstart, float2 Pend)
|
||||
float3 P = project(patch, Pstart + t*(Pend - Pstart));
|
||||
|
||||
if(i > 0) {
|
||||
float L = length(P - Plast);
|
||||
float L = len(P - Plast);
|
||||
Lsum += L;
|
||||
Lmax = max(L, Lmax);
|
||||
}
|
||||
|
Reference in New Issue
Block a user