diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-03-29 11:02:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:10 +0300 |
commit | d17f3c6d5632f3381998dc360a69c3ff50e58fcd (patch) | |
tree | b3442610ad4f05405604988f601616a528d435f0 | |
parent | 22656289644a72add3e414063252251949afc24e (diff) |
Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML
-rw-r--r-- | intern/cycles/app/cycles_xml.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index dd1dae121b1..fbe585f79af 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -1004,6 +1004,8 @@ static void xml_read_mesh(const XMLReadState& state, pugi::xml_node node) fdata[2] = make_float3(UV[v2*2], UV[v2*2+1], 0.0); fdata += 3; } + + index_offset += nverts[i]; } } } |