Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-03-29 11:02:17 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-03-29 11:02:17 +0300
commit003f908f0d9e21f77bf98f57b15af7b294269899 (patch)
tree4495fb104eca58e87bdb6105d67780add2bf6dba /intern/cycles/app/cycles_xml.cpp
parent2fae1719f82c10e3ac2bfba7cc45f2534a0b1a02 (diff)
Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML
Diffstat (limited to 'intern/cycles/app/cycles_xml.cpp')
-rw-r--r--intern/cycles/app/cycles_xml.cpp2
1 files changed, 2 insertions, 0 deletions
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];
}
}
}