[Bf-blender-cvs] [d17f3c6] blender-v2.77-release: Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML

Sergey Sharybin noreply at git.blender.org
Tue Apr 5 10:38:35 CEST 2016


Commit: d17f3c6d5632f3381998dc360a69c3ff50e58fcd
Author: Sergey Sharybin
Date:   Tue Mar 29 10:02:17 2016 +0200
Branches: blender-v2.77-release
https://developer.blender.org/rBd17f3c6d5632f3381998dc360a69c3ff50e58fcd

Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML

===================================================================

M	intern/cycles/app/cycles_xml.cpp

===================================================================

diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index dd1dae1..fbe585f 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];
 			}
 		}
 	}




More information about the Bf-blender-cvs mailing list