提交 6e49313e 编写于 作者: M Mr.doob

Fixed GeometryExporter hasFaceColor check.

上级 b0bbc35a
......@@ -44,7 +44,7 @@ THREE.GeometryExporter.prototype = {
var hasFaceVertexUv = false; // geometry.faceVertexUvs[ 0 ][ i ] !== undefined;
var hasFaceNormal = face.normal.length() > 0;
var hasFaceVertexNormal = face.vertexNormals.length > 0;
var hasFaceColor = face.color.r !== 1 && face.color.g !== 1 && face.color.b !== 1;
var hasFaceColor = face.color.r !== 1 || face.color.g !== 1 || face.color.b !== 1;
var hasFaceVertexColor = face.vertexColors.length > 0;
var faceType = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册