diff options
author | Thomas Dinges <blender@dingto.org> | 2013-06-04 21:20:00 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-06-04 21:20:00 +0400 |
commit | 9e4914e0553d0b7f57a3db86741307a17d79c21c (patch) | |
tree | ac5c2500d9f171deba253bd99c090726f3208576 /intern/cycles/subd/subd_split.cpp | |
parent | 4a7f37f6ed3569b12ff195081cca3f31430bef67 (diff) |
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].
Diffstat (limited to 'intern/cycles/subd/subd_split.cpp')
-rw-r--r-- | intern/cycles/subd/subd_split.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/subd/subd_split.cpp b/intern/cycles/subd/subd_split.cpp index cca64822647..074c82a2348 100644 --- a/intern/cycles/subd/subd_split.cpp +++ b/intern/cycles/subd/subd_split.cpp @@ -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); } |