diff options
Diffstat (limited to 'intern/cycles/util/util_ies.cpp')
-rw-r--r-- | intern/cycles/util/util_ies.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_ies.cpp b/intern/cycles/util/util_ies.cpp index e1de2e0c6e4..277045d9bc4 100644 --- a/intern/cycles/util/util_ies.cpp +++ b/intern/cycles/util/util_ies.cpp @@ -293,7 +293,7 @@ bool IESFile::process_type_c() { if(h_angles[0] == 90.0f) { /* Some files are stored from 90° to 270°, so we just rotate them to the regular 0°-180° range here. */ - for(int i = 0; i < v_angles.size(); i++) { + for(int i = 0; i < h_angles.size(); i++) { h_angles[i] -= 90.0f; } } |