diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-23 10:23:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-09-23 10:27:02 +0300 |
commit | 0ec814c91d82eca135354abc38889e2bfb64dd9a (patch) | |
tree | dc67081902d4ab5745d84eb5d8a1f6d545de6e4d /intern/cycles/kernel/osl/bsdf_phong_ramp.cpp | |
parent | 1cae9c4af480e2ab674901c0933be3286f2ae2ca (diff) |
Cycles: Support building with latest OSL-1.7dev
So now the following OSL versions are supported (at least for compilation):
- 1.5 with closure alignment patch applied
- 1.6.8 release
- 1.7 development version from latest git
Diffstat (limited to 'intern/cycles/kernel/osl/bsdf_phong_ramp.cpp')
-rw-r--r-- | intern/cycles/kernel/osl/bsdf_phong_ramp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp b/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp index 497c4f0dc5c..99f510d31ed 100644 --- a/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp +++ b/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp @@ -93,7 +93,7 @@ ClosureParam *closure_bsdf_phong_ramp_params() CLOSURE_FLOAT3_PARAM(PhongRampClosure, sc.N), CLOSURE_FLOAT_PARAM(PhongRampClosure, sc.data0), CLOSURE_COLOR_ARRAY_PARAM(PhongRampClosure, colors, 8), - CLOSURE_STRING_KEYPARAM("label"), + CLOSURE_STRING_KEYPARAM(PhongRampClosure, label, "label"), CLOSURE_FINISH_PARAM(PhongRampClosure) }; return params; |