Update PolyLineEntityItem.cpp

This commit is contained in:
Eric Levin 2015-09-29 16:32:07 -07:00
parent 36be35a836
commit 614312f04f

View file

@ -139,7 +139,7 @@ bool PolyLineEntityItem::setNormals(const QVector<glm::vec3>& normals) {
_vertices << v1 << v2;
}
//for last point we can just assume binormals are same since it represents last two vertices of quad
point = _points.at(minVectorSize - 1);
point = _points.at(minVectorSize - 1);
v1 = point + binormal;
v2 = point - binormal;
_vertices << v1 << v2;