From 003f908f0d9e21f77bf98f57b15af7b294269899 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 29 Mar 2016 10:02:17 +0200 Subject: Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML --- intern/cycles/app/cycles_xml.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/app/cycles_xml.cpp') diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index 176f83f5fa4..c845f28ff90 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -1008,6 +1008,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]; } } } -- cgit v1.2.3