[Bf-blender-cvs] [003f908] master: Fix T47987: Blender Cycles standalone does not properly read UV coordinates from XML
Sergey Sharybin
noreply at git.blender.org
Tue Mar 29 10:03:00 CEST 2016
Commit: 003f908f0d9e21f77bf98f57b15af7b294269899
Author: Sergey Sharybin
Date: Tue Mar 29 10:02:17 2016 +0200
Branches: master
https://developer.blender.org/rB003f908f0d9e21f77bf98f57b15af7b294269899
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 176f83f..c845f28 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];
}
}
}
More information about the Bf-blender-cvs
mailing list